CVE-2018-5158
High
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.
SeverityHigh
CVSS8.8
Exploit probability—
Product
Mozilla Firefox
PublishedJun 11, 2018
First seenJun 11, 2018
How to fix
Update
- mozilla firefox52.8.0, 60.0 or later
- pdfjs-dist2.0.550, 1.10.100 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mozilla firefox | v < 52.8.0, v < 60.0 | 52.8.0, 60.0 |
| debian debian_linux | 7.0, 8.0, 9.0 | — |
| redhat enterprise_linux_desktop | 6.0, 7.0 | — |
| redhat enterprise_linux_server | 6.0, 7.0 | — |
| redhat enterprise_linux_server_aus | 7.6 | — |
| redhat enterprise_linux_server_eus | 7.5, 7.6 | — |
| redhat enterprise_linux_server_tus | 7.6 | — |
| redhat enterprise_linux_workstation | 6.0, 7.0 | — |
| canonical ubuntu_linux | 14.04, 16.04, 17.10, 18.04 | — |
| pdfjs-distnpm | 2.0.0 ≤ v < 2.0.550, v < 1.10.100 | 2.0.550, 1.10.100 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.