CVE-2022-21681

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

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

CVE-2022-21681 - advisory for GHSA-5v2h-r2cx-5xgj

Source: Mitre Source: Nist Print: PDF PDF
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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 `inline.reflinkSearch` may cause catastrophic backtracking against some strings and lead to a denial of service (DoS). 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-21681 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
Exponential catastrophic backtracking (ReDoS) in `inline.reflinkSearch` · Advisory · markedjs/marked · GitHub github.com
text/html
URL Logo CONFIRM github.com/markedjs/marked/security/advisories/GHSA-5v2h-r2cx-5xgj
fix(security): fix redos vulnerabilities · markedjs/[email protected] · GitHub github.com
text/html
URL Logo MISC github.com/markedjs/marked/commit/8f806573a3f6c6b7a39b8cdb66ab5ebb8d55a5f5

Known Affected Software

Vendor Product Version
Markedjs marked < 4.0.10

Social Mentions

Source Title Posted (UTC)
Twitter Icon @CVEreport CVE-2022-21681 : Marked is a markdown parser and compiler. Prior to version 4.0.10, the regular expression `inline.… twitter.com/i/web/status/1… 2022-01-14 17:06:01
Reddit Logo Icon /r/netcve CVE-2022-21681 2022-01-14 17:38:28
© CVE.report 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.

CVE.report and Source URL Uptime Status status.cve.report