Published on: 01/14/2022 12:00:00 AM UTC

Last Modified on: 01/14/2022 05:59:00 PM UTC

CVE-2022-21680 - advisory for GHSA-rrrm-qjm4-v8hf

Source: Mitre Source: Nist Print: PDF PDF

Certain versions of Marked from Markedjs contain the following vulnerability:

Marked is a markdown parser and compiler. Prior to version 4.0.10, the regular expression `block.def` may cause catastrophic backtracking against some strings and lead to a regular expression denial of service (ReDoS). Anyone who runs untrusted markdown through a vulnerable version of marked and does not use a worker with a time limit may be affected. This issue is patched in version 4.0.10. As a workaround, avoid running untrusted markdown through marked or run marked on a worker thread and set a reasonable time limit to prevent draining resources.

  • CVE-2022-21680 has been assigned by URL Logo [email protected] to track the vulnerability
  • Affected Vendor/Software: URL Logo markedjs - marked version < 4.0.10

CVE References

Description Tags Link
Release v4.0.10 · markedjs/marked · GitHub
Merge pull request from GHSA-rrrm-qjm4-v8hf · markedjs/[email protected] · GitHub
Cubic catastrophic backtracking (ReDoS) in `block.def` · Advisory · markedjs/marked · GitHub

Known Affected Software

Vendor Product Version
Markedjs marked < 4.0.10

Social Mentions

Source Title Posted (UTC)
Twitter Icon @CVEreport CVE-2022-21680 : Marked is a markdown parser and compiler. Prior to version 4.0.10, the regular expression `block.d…… 2022-01-14 17:01:27
Reddit Logo Icon /r/netcve CVE-2022-21680 2022-01-14 17:38:26
© 2022 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license. and Source URL Uptime Status