Name | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
node-marked (PTS) | jessie | 0.3.2+dfsg-1 | fixed |
| stretch | 0.3.6+dfsg-1 | fixed |
| buster | 0.5.1+dfsg-1 | fixed |
| bullseye | 0.8.0+ds+repack-2 | fixed |
| bookworm | 4.2.3+ds+~4.0.7-2 | fixed |
| sid, trixie | 4.2.3+ds+~4.0.7-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
node-marked | source | jessie | (not affected) | | | |
node-marked | source | (unstable) | (not affected) | | | |
Notes
- node-marked <not-affected> (Vulnerable code introduced later)
https://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96
https://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd
[jessie] - node-marked <not-affected> (fixed in v2.0.0)