Vulnerability Description
The PDF viewer does not sufficiently sanitize PostScript calculator functions, allowing malicious JavaScript to be injected through a crafted PDF file. This JavaScript can then be run with the permissions of the PDF viewer by its worker. This vulnerability affects Firefox ESR < 52.8 and Firefox < 60.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Debian | Debian Linux | 7.0 |
| Redhat | Enterprise Linux Desktop | 6.0 |
| Redhat | Enterprise Linux Server | 6.0 |
| Redhat | Enterprise Linux Server Aus | 7.6 |
| Redhat | Enterprise Linux Server Eus | 7.5 |
| Redhat | Enterprise Linux Server Tus | 7.6 |
| Redhat | Enterprise Linux Workstation | 6.0 |
| Mozilla | Firefox | < 52.8.0 |
| Canonical | Ubuntu Linux | 14.04 |
Related Weaknesses (CWE)
References
- http://www.securityfocus.com/bid/104136Third Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1040896Third Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:1414Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1415Third Party Advisory
- https://bugzilla.mozilla.org/show_bug.cgi?id=1452075Issue TrackingVendor Advisory
- https://lists.debian.org/debian-lts-announce/2018/05/msg00007.htmlMailing ListThird Party Advisory
- https://security.gentoo.org/glsa/201810-01Third Party Advisory
- https://usn.ubuntu.com/3645-1/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4199Third Party Advisory
- https://www.mozilla.org/security/advisories/mfsa2018-11/Vendor Advisory
- https://www.mozilla.org/security/advisories/mfsa2018-12/Vendor Advisory
- http://www.securityfocus.com/bid/104136Third Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1040896Third Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:1414Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1415Third Party Advisory
FAQ
What is CVE-2018-5158?
CVE-2018-5158 is a vulnerability with a CVSS score of 8.8 (HIGH). The PDF viewer does not sufficiently sanitize PostScript calculator functions, allowing malicious JavaScript to be injected through a crafted PDF file. This JavaScript can then be run with the permiss...
How severe is CVE-2018-5158?
CVE-2018-5158 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-5158?
Check the references section above for vendor advisories and patch information. Affected products include: Debian Debian Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus, Redhat Enterprise Linux Server Eus.