p PatchFirst

CVE-2019-17221

CVE-2019-17221

This page contains facts from public vulnerability sources. Check the original advisory before updating.

PhantomJS through 2.1.1 has an arbitrary file read vulnerability, as demonstrated by an XMLHttpRequest for a file:// URI. The vulnerability exists in the page.open() function of the webpage module, which loads a specified URL and calls a given callback. An attacker can supply a specially crafted HTML file, as user input, that allows reading arbitrary files on the filesystem. For example, if page.render() is the function callback, this generates a PDF or an image of the targeted file. NOTE: this product is no longer developed.

CVSS 7.5 · High · EPSS 3.4%

Published
Updated

Stack: system · node

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • phantomjs npm

    Affected ranges
    • SEMVER: ≤ 2.1.1

    No fix published

  • phantomjs Ubuntu:16.04:LTS

    Versions
    • 1.9.0-1
    • 2.0.0+dfsg-1
    • 2.1.1+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • phantomjs Ubuntu:18.04:LTS

    Versions
    • 2.1.1+dfsg-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • phantomjs Ubuntu:20.04:LTS

    Versions
    • 2.1.1+dfsg-2
    • 2.1.1+dfsg-2ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →