*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
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.
: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 - react-pdf-8.0.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/react-pdf/node_modules/pdfjs-dist/package.json
Found in HEAD commit: a7a8932a58914aa52ccf38b7d5102ca54917bdfa
Vulnerabilities
*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.
**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-3.11.174.tgzLibrary home page: https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-3.11.174.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/react-pdf/node_modules/pdfjs-dist/package.json
Dependency Hierarchy: - react-pdf-8.0.2.tgz (Root Library) - :x: **pdfjs-dist-3.11.174.tgz** (Vulnerable Library)
Found in HEAD commit: a7a8932a58914aa52ccf38b7d5102ca54917bdfa
Found in base branch: master
### Vulnerability DetailsA 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.
Publish Date: 2024-05-14
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-14
Fix Resolution: pdfjs-dist - 4.2.67