Open mend-bolt-for-github[bot] opened 6 months ago
Generic build of Mozilla's PDF.js library.
Library home page: https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-2.1.266.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/pdfjs-dist/package.json
Dependency Hierarchy: - react-pdf-4.2.0.tgz (Root Library) - :x: **pdfjs-dist-2.1.266.tgz** (Vulnerable Library)
Found in HEAD commit: 5405eeecb088ab7acf45ef51e052988d72c3fe7f
Found in base branch: main
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
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
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
Step up your Open Source Security Game with Mend here
CVE-2024-4367 - Medium Severity Vulnerability
Vulnerable Library - pdfjs-dist-2.1.266.tgz
Generic build of Mozilla's PDF.js library.
Library home page: https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-2.1.266.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/pdfjs-dist/package.json
Dependency Hierarchy: - react-pdf-4.2.0.tgz (Root Library) - :x: **pdfjs-dist-2.1.266.tgz** (Vulnerable Library)
Found in HEAD commit: 5405eeecb088ab7acf45ef51e052988d72c3fe7f
Found in base branch: main
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 (5.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - 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
Step up your Open Source Security Game with Mend here