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.
: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.
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
**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.tgzGeneric 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 DetailsIn 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 FixType: 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.