Vulnerability CVE-2021-21306


Published: 2021-02-08

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.

Type:

CWE-400

(Uncontrolled Resource Consumption ('Resource Exhaustion'))

CVSS2 => (AV:N/AC:L/Au:N/C:N/I:N/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
5/10
2.9/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
None
None
Partial
Affected software
Marked project -> Marked 

 References:
https://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd
https://github.com/markedjs/marked/issues/1927
https://github.com/markedjs/marked/pull/1864
https://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96
https://www.npmjs.com/package/marked

Copyright 2024, cxsecurity.com

 

Back to Top