CVE-2021-21306

NameCVE-2021-21306
DescriptionMarked 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.
SourceCVE (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 PackageReleaseVersionStatus
node-marked (PTS)jessie0.3.2+dfsg-1fixed
stretch0.3.6+dfsg-1fixed
buster0.5.1+dfsg-1fixed
bullseye0.8.0+ds+repack-2fixed
bookworm4.2.3+ds+~4.0.7-2fixed
sid, trixie4.2.3+ds+~4.0.7-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-markedsourcejessie(not affected)
node-markedsource(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)

Search for package or bug name: Reporting problems