UBUNTU-CVE-2019-17221

Source
https://ubuntu.com/security/CVE-2019-17221
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-17221.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2019-17221
Related
Published
2019-11-05T14:15:00Z
Modified
2025-06-03T17:33:28Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / phantomjs

Package

Name
phantomjs
Purl
pkg:deb/ubuntu/phantomjs@2.1.1+dfsg-1?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.9.0-1

2.*

2.0.0+dfsg-1
2.1.1+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / phantomjs

Package

Name
phantomjs
Purl
pkg:deb/ubuntu/phantomjs@2.1.1+dfsg-2?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.1.1+dfsg-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:20.04:LTS / phantomjs

Package

Name
phantomjs
Purl
pkg:deb/ubuntu/phantomjs@2.1.1+dfsg-2ubuntu1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.1.1+dfsg-2
2.1.1+dfsg-2ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}