Categories
CVE-2024-4367 high CVSS 8.8

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.

❓ What is the problem

A vulnerability (CWE-754) exists in pdfjs-dist. Attackers reach the vulnerable code path via isEvalSupported without authentication.

📍 Affected scope

Check the vendor advisory for the affected versions of pdfjs-dist. Attack surface: isEvalSupported / true / eval / false.

🔥 Severity

Severity: High (CVSS 8.8/10). Successful exploitation can lead to full system takeover.

🔧 How to fix

Update to 4.2.67.

🛡️ Workaround

Workaround: Set the option isEvalSupported to false.

🔍 Detection

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. 1
    Identify exposure identify
    grep -r 'pdfjs-dist' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で pdfjs-dist を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply temporary workaround mitigate
    Set the option `isEvalSupported` to `false`.

    パッチが適用されるまでの応急処置として、Set the option isEvalSupported to false. を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patch patch
    Upgrade pdfjs-dist to 4.2.67

    ステージング環境で 4.2.67 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

npm pdfjs-dist
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.2.67"}]}]

Fix status by distribution

Fixed packages published by each distribution for this CVE

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details