Vulnerability in pdfjs-dist (CVE-2024-4367)
Summary
Vulnerability in pdfjs-dist (CVE-2024-4367). Successful exploitation can lead to full system takeover. Exploitable via isEvalSupported. Mitigation: upgrade to 4.2.67 or later.
Original description
The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2024-4367 has been found in pdfjs-dist.
Attackers can target a specific entry point like isEvalSupported over the network to misuse the product.
Successful exploitation can lead to full system takeover. CVSS score: 8.8/10.
What to do: upgrade pdfjs-dist to 4.2.67 or later.
If unsure, ask your IT team or search "pdfjs-dist CVE-2024-4367" on the vendor's site.
CVE-2024-4367 (pdfjs-dist) — CWE-754 / CVSS v3 8.8
Attack vector: remote (network-reachable) / unauthenticated
Attack surface: isEvalSupported / true / eval / false
Patched: 4.2.67 — apply immediately
Workaround: Set the option isEvalSupported to false.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-754) exists in pdfjs-dist. Attackers reach the vulnerable code path via isEvalSupported without authentication.
Check the vendor advisory for the affected versions of pdfjs-dist. Attack surface: isEvalSupported / true / eval / false.
Severity: High (CVSS 8.8/10). Successful exploitation can lead to full system takeover.
Update to 4.2.67.
Workaround: Set the option isEvalSupported to false.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'pdfjs-dist' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'pdfjs-dist' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
pdfjs-distを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
Set the option `isEvalSupported` to `false`.パッチが適用されるまでの応急処置として、Set the option
isEvalSupportedtofalse. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3Apply patch patch
Upgrade pdfjs-dist to 4.2.67ステージング環境で 4.2.67 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2024-4367 firefox-esr Fixed in: 115.11.0esr-1~deb11u1
References
- advisory mozilla.org
- advisory mozilla.org
- advisory mozilla.org
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- report bugzilla.mozilla.org
- report github.com
- web lists.debian.org
- web lists.debian.org
- web seclists.org
- web codeanlabs.com
- web github.com
- web exploit-db.com
- web cert-portal.siemens.com
- web github.com
- web github.com
- web github.com
- web mozilla.org
- web mozilla.org
- web mozilla.org
- web codeanlabs.com
- web github.com