CVE-2024-4367
Description
A type check was missing when handling fonts in PDF.js, which would allow arbitrary JavaScript execution in the PDF.js context. This vulnerability affects Firefox < 126, Firefox ESR < 115.11, and Thunderbird < 115.11.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Firefox ESR 115.11 - PDF.js Arbitrary JavaScript execution
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Mixed 6 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 115.11.0esr-1 |
| sid | Fixed | 126.0-1 |
| forky | Fixed | 115.11.0esr-1 |
| bullseye | Fixed | 115.11.0esr-1~deb11u1 |
| bookworm | Fixed | 115.11.0esr-1~deb12u1 |
| 10.0 | Affected | โ |
Red Hat Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
| 8 | Fixed | โ |
Rocky Linux Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
| 8 | Fixed | โ |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| npm | pdfjs-dist | <4.2.67 | 4.2.67 |
| NPM | pdfjs-dist | <= 4.1.392 | 4.2.67 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| mozilla | firefox | {"endExcluding":"115.11.0"} | 115.11.0 |
| mozilla | thunderbird | {"endExcluding":"115.11.0"} | 115.11.0 |
| open-xchange | open-xchange_appsuite_frontend | {"endExcluding":"7.10.6"} | 7.10.6 |
| open-xchange | open-xchange_appsuite_frontend | 7.10.6 | |
References
- https://access.redhat.com/errata/RHSA-2024:2883
- https://access.redhat.com/errata/RHSA-2024:2888
- https://bugzilla.mozilla.org/show_bug.cgi?id=1893645
- https://lists.debian.org/debian-lts-announce/2024/05/msg00010.html
- https://lists.debian.org/debian-lts-announce/2024/05/msg00012.html
- https://www.mozilla.org/security/advisories/mfsa2024-21/
- https://www.mozilla.org/security/advisories/mfsa2024-22/
- https://www.mozilla.org/security/advisories/mfsa2024-23/
- http://seclists.org/fulldisclosure/2024/Aug/30
- https://codeanlabs.com/blog/research/cve-2024-4367-arbitrary-js-execution-in-pdf-js/
- https://github.com/gogs/gogs/issues/7928
- https://github.com/mozilla/pdf.js/releases/tag/v4.2.67
- https://www.exploit-db.com/exploits/52273
- https://cert-portal.siemens.com/productcert/html/ssa-827383.html
- https://errata.rockylinux.org/RLSA-2024:3784
- https://errata.rockylinux.org/RLSA-2024:3783
- https://security-tracker.debian.org/tracker/CVE-2024-4367
- https://www.suse.com/security/cve/CVE-2024-4367.html
- https://github.com/mozilla/pdf.js/security/advisories/GHSA-wgrm-67xf-hhpq
- https://nvd.nist.gov/vuln/detail/CVE-2024-4367
- https://github.com/mozilla/pdf.js/pull/18015
- https://github.com/mozilla/pdf.js/commit/85e64b5c16c9aaef738f421733c12911a441cec6
- https://codeanlabs.com/blog/research/cve-2024-4367-arbitrary-js-execution-in-pdf-js
- https://github.com/mozilla/pdf.js
- https://www.mozilla.org/security/advisories/mfsa2024-21
CWEs
CWE-754
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.