Marked is an open-source markdown parser and compiler (npm package "marked"). In marked from version 1.1.1 and before version 2.0.0, there is a Regular expression Denial of Service vulnerability. This vulnerability can affect anyone who runs user generated code through marked. This vulnerability is fixed in version 2.0.0.
CVE-2021-21306 - High Severity Vulnerability
Vulnerable Library - marked-1.2.9.tgz
A markdown parser built for speed
Library home page: https://registry.npmjs.org/marked/-/marked-1.2.9.tgz
Path to dependency file: charts/package.json
Path to vulnerable library: charts/node_modules/marked/package.json
Dependency Hierarchy: - semantic-release-17.2.3.tgz (Root Library) - :x: **marked-1.2.9.tgz** (Vulnerable Library)
Found in HEAD commit: 43a70c40b2b74077986aef3171fa6030e54a8747
Vulnerability Details
Marked is an open-source markdown parser and compiler (npm package "marked"). In marked from version 1.1.1 and before version 2.0.0, there is a Regular expression Denial of Service vulnerability. This vulnerability can affect anyone who runs user generated code through marked. This vulnerability is fixed in version 2.0.0.
Publish Date: 2021-02-08
URL: CVE-2021-21306
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://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96
Release Date: 2021-02-08
Fix Resolution: v2.0.0
Step up your Open Source Security Game with WhiteSource here