Advisory

GHSA-x43g-gj9x-838x

Also known as: CVE-2019-17221

Summary

PhantomJS Arbitrary File Read

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 22:01 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

phantomjs

npm · All systems

Affected

  • introduced 0, last affected 2.1.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences