Alcumus / react-doc-viewer

Apache License 2.0
242 stars 103 forks source link

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

Closed mend-for-github-com[bot] closed 4 months ago

mend-for-github-com[bot] commented 4 months ago
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: - :x: **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: https://github.com/mozilla/pdf.js/security/advisories/GHSA-wgrm-67xf-hhpq

Release Date: 2024-05-01

Fix Resolution: pdfjs-dist - 4.2.67

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.

mend-for-github-com[bot] commented 4 months ago

:heavy_check_mark: 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.