Moderate severityNVD Advisory· Published Feb 8, 2021· Updated Aug 3, 2024
Denial of Service in Marked
CVE-2021-21306
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
markednpm | >= 1.1.1, < 2.0.0 | 2.0.0 |
Affected products
2- Range: >= 1.1.1, < 2.0.0
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-4r62-v4vq-hr96ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-21306ghsaADVISORY
- github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccdghsax_refsource_MISCWEB
- github.com/markedjs/marked/issues/1927ghsax_refsource_MISCWEB
- github.com/markedjs/marked/pull/1864ghsax_refsource_MISCWEB
- github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96ghsax_refsource_CONFIRMWEB
- www.npmjs.com/package/markedghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.