CVE-2021-21306
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| markedjs | marked | >= 1.1.1, < 2.0.0 | affected |
Weaknesses
- CWE-400: {"CWE-400":"Uncontrolled Resource Consumption"}
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96
- https://github.com/markedjs/marked/issues/1927
- https://github.com/markedjs/marked/pull/1864
- https://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd
- https://www.npmjs.com/package/marked
References
- https://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96
- https://github.com/markedjs/marked/issues/1927
- https://github.com/markedjs/marked/pull/1864
- https://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd
- https://www.npmjs.com/package/marked
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.