First published: Mon Feb 08 2021(Updated: )
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.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Marked Project | >=1.1.1<2.0.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-21306 is considered a moderate severity vulnerability due to its potential to cause Denial of Service through regular expressions.
To fix CVE-2021-21306, upgrade the marked npm package to version 2.0.0 or later.
CVE-2021-21306 affects any application running user-generated code through versions of marked between 1.1.1 and before 2.0.0.
CVE-2021-21306 is classified as a Regular expression Denial of Service (ReDoS) vulnerability.
CVE-2021-21306 was disclosed in early 2021.