hatemhosny / racing-bars

Bar chart race made easy 🎉
https://racing-bars.hatemhosny.dev/
MIT License
75 stars 4 forks source link

CVE-2021-23341 (High) detected in prismjs-1.20.0.tgz - autoclosed #48

Closed mend-bolt-for-github[bot] closed 9 months ago

mend-bolt-for-github[bot] commented 3 years ago

CVE-2021-23341 - High Severity Vulnerability

Vulnerable Library - prismjs-1.20.0.tgz

Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet.

Library home page: https://registry.npmjs.org/prismjs/-/prismjs-1.20.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/prismjs/package.json

Dependency Hierarchy: - preset-classic-2.0.0-alpha.56.tgz (Root Library) - theme-classic-2.0.0-alpha.56.tgz - :x: **prismjs-1.20.0.tgz** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

The package prismjs before 1.23.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the prism-asciidoc, prism-rest, prism-tap and prism-eiffel components.

Publish Date: 2021-02-18

URL: CVE-2021-23341

CVSS 3 Score Details (7.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - 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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23341

Release Date: 2021-02-18

Fix Resolution (prismjs): 1.23.0

Direct dependency fix Resolution (@docusaurus/preset-classic): 2.0.0


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 9 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.