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) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
node-marked (PTS) | 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-4 | 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 | (unstable) | (not affected) |
- 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