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.
References
Link | Resource |
---|---|
https://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd | Patch Third Party Advisory |
https://github.com/markedjs/marked/issues/1927 | Third Party Advisory |
https://github.com/markedjs/marked/pull/1864 | Patch Third Party Advisory |
https://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96 | Third Party Advisory |
https://www.npmjs.com/package/marked | Product Third Party Advisory |
Configurations
History
No history.
Information
Published : 2021-02-08 22:15
Updated : 2024-02-04 21:23
NVD link : CVE-2021-21306
Mitre link : CVE-2021-21306
CVE.ORG link : CVE-2021-21306
JSON object : View
Products Affected
marked_project
- marked
CWE
CWE-400
Uncontrolled Resource Consumption