Vulnerability in pdfjs-dist
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
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
-
1
Identify exposureidentify
grep -r 'pdfjs-dist' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
pdfjs-distを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply temporary workaroundmitigate
Set the option `isEvalSupported` to `false`.パッチが適用されるまでの応急処置として、Set the option
isEvalSupportedtofalse. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3
Apply patchpatch
Upgrade pdfjs-dist to 4.2.67ステージング環境で 4.2.67 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npmpdfjs-dist |
< 4.2.67→ 4.2.67 |
4.2.67 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2024-4367 wpewebkit, webkit2gtk, thunderbird +2 more Fix available
- Ubuntu UBUNTU-CVE-2024-4367 thunderbird, firefox Fix available
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
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