Whizkevina / uchi-sidebar-clone

Other
0 stars 0 forks source link

CVE-2024-4367 (Medium) detected in pdfjs-dist-2.1.266.tgz #151

Open mend-bolt-for-github[bot] opened 6 months ago

mend-bolt-for-github[bot] commented 6 months ago

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