VulnerabilityModified
CVE-2021-21306
In marked from version 1.1.1 and before version 2.0.0, there is a Regular expression Denial of Service vulnerability.
HIGH 7.5EPSS 2.46%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.46%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 2.46% probability · 84th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-400
- Affected
- marked project/marked
- Source
- security-advisories@github.com
References
- https://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccdPatch, Third Party Advisory
- https://github.com/markedjs/marked/issues/1927Third Party Advisory
- https://github.com/markedjs/marked/pull/1864Patch, Third Party Advisory
- https://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96Third Party Advisory
- https://www.npmjs.com/package/markedProduct, Third Party Advisory
- https://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccdPatch, Third Party Advisory
- https://github.com/markedjs/marked/issues/1927Third Party Advisory
- https://github.com/markedjs/marked/pull/1864Patch, Third Party Advisory
- https://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96Third Party Advisory
- https://www.npmjs.com/package/markedProduct, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.