MEDIUM 5.3 npm
Regular Expression Denial of Service (REDoS) in Marked
GHSA-4r62-v4vq-hr96 · CVE-2021-21306
Published · Modified
Description
Impact
What kind of vulnerability is it? Who is impacted?
Regular expression Denial of Service
A Denial of Service attack can affect anyone who runs user generated code through marked.
Patches
Has the problem been patched? What versions should users upgrade to?
patched in v2.0.0
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading?
None.
References
Are there any links users can visit to find out more?
https://github.com/markedjs/marked/issues/1927
https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS
For more information
If you have any questions or comments about this advisory:
- Open an issue in marked
References
- WEB https://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2021-21306
- WEB https://github.com/markedjs/marked/issues/1927
- WEB https://github.com/markedjs/marked/pull/1864
- WEB https://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd
- WEB https://www.npmjs.com/package/marked
Ready to move
Start Securing
Free, no credit card | First findings in minutes