CVE-2022-21680

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
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 `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 github.com
text/html
URL Logo MISC github.com/markedjs/marked/releases/tag/v4.0.10
Merge pull request from GHSA-rrrm-qjm4-v8hf · markedjs/[email protected] · GitHub github.com
text/html
URL Logo MISC github.com/markedjs/marked/commit/c4a3ccd344b6929afa8a1d50ac54a721e57012c0
Cubic catastrophic backtracking (ReDoS) in `block.def` · Advisory · markedjs/marked · GitHub github.com
text/html
URL Logo CONFIRM github.com/markedjs/marked/security/advisories/GHSA-rrrm-qjm4-v8hf

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… twitter.com/i/web/status/1… 2022-01-14 17:01:27
Reddit Logo Icon /r/netcve CVE-2022-21680 2022-01-14 17:38:26
© 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