Alcumus/react-doc-viewer

pdfjs-dist-2.4.456.tgz: 1 vulnerabilities (highest severity is: 8.8) - autoclosed

Closed this issue · 1 comments

Vulnerable Library - pdfjs-dist-2.4.456.tgz

Generic build of Mozilla's PDF.js library.

Library home page: https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-2.4.456.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/pdfjs-dist/package.json

Found in HEAD commit: 76f7fe7c63b333ebe6937542bade08d541d2debd

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (pdfjs-dist version) Remediation Possible**
CVE-2024-4367 High 8.8 pdfjs-dist-2.4.456.tgz Direct pdfjs-dist - 4.2.67

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-4367

Vulnerable Library - pdfjs-dist-2.4.456.tgz

Generic build of Mozilla's PDF.js library.

Library home page: https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-2.4.456.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/pdfjs-dist/package.json

Dependency Hierarchy:

  • pdfjs-dist-2.4.456.tgz (Vulnerable Library)

Found in HEAD commit: 76f7fe7c63b333ebe6937542bade08d541d2debd

Found in base branch: master

Vulnerability Details

In pdf.js before 4.2.67, if used to load a malicious PDF, and PDF.js is configured with isEvalSupported set to true (which is the default value), unrestricted attacker-controlled JavaScript will be executed in the context of the hosting domain.

Publish Date: 2024-05-01

URL: CVE-2024-4367

CVSS 3 Score Details (8.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-wgrm-67xf-hhpq

Release Date: 2024-05-01

Fix Resolution: pdfjs-dist - 4.2.67

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.