Resource exhaustion in Markedjs Marked
CVE-2021-21306
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.025 (84.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 84th percentile — 84.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.025 · newest: 0.025 · change: 0.000
Affected products
- Markedjs Marked — versions >= 1.1.1, < 2.0.0
- Marked Project
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96 (Third Party Advisory)
- github.com/markedjs/marked/issues/1927 (Third Party Advisory)
- github.com/markedjs/marked/pull/1864 (Patch, Third Party Advisory)
- github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd (Patch, Third Party Advisory)
- www.npmjs.com/package/marked (Product, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-21306?
- CVE-2021-21306 is a medium-severity vulnerability in Markedjs Marked, classified under Uncontrolled Resource Consumption. CVSS score: 5.3/10. Published 2021-02-08.
- How severe is CVE-2021-21306?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2021-21306 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.