| Name | CVE-2018-5158 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-1376-1, DSA-4199-1 |
| Debian Bugs | 926482 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| firefox (PTS) | sid | 145.0.1-1 | fixed |
| firefox-esr (PTS) | bullseye | 115.14.0esr-1~deb11u1 | fixed |
| bullseye (security) | 140.5.0esr-1~deb11u1 | fixed | |
| bookworm | 128.14.0esr-1~deb12u1 | fixed | |
| bookworm (security) | 140.5.0esr-1~deb12u1 | fixed | |
| trixie | 140.4.0esr-1~deb13u1 | fixed | |
| trixie (security) | 140.5.0esr-1~deb13u1 | fixed | |
| forky, sid | 140.5.0esr-1 | fixed | |
| gitlab (PTS) | sid | 17.6.5-19 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| firefox | source | (unstable) | 60.0-1 | |||
| firefox-esr | source | wheezy | 52.8.0esr-1~deb7u1 | DLA-1376-1 | ||
| firefox-esr | source | jessie | 52.8.0esr-1~deb8u1 | DSA-4199-1 | ||
| firefox-esr | source | stretch | 52.8.0esr-1~deb9u1 | DSA-4199-1 | ||
| firefox-esr | source | (unstable) | 52.8.0esr-1 | |||
| gitlab | source | (unstable) | 11.8.6+dfsg-1 | 926482 |
https://www.mozilla.org/en-US/security/advisories/mfsa2018-11/#CVE-2018-5158
https://www.mozilla.org/en-US/security/advisories/mfsa2018-12/#CVE-2018-5158
https://about.gitlab.com/2019/04/01/security-release-gitlab-11-dot-9-dot-4-released/