CVE-2022-21680

Summary

CVECVE-2022-21680
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-01-14 17:15:00 UTC
Updated2023-11-07 03:43:00 UTC
DescriptionMarked 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.

Risk And Classification

Problem Types: CWE-1333

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 36 All All All
Application Marked Project Marked All All All All

References

ReferenceSourceLinkTags
Release v4.0.10 · markedjs/marked · GitHub MISC github.com
[SECURITY] Fedora 36 Update: gitqlient-1.5.0-2.fc36 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
Merge pull request from GHSA-rrrm-qjm4-v8hf · markedjs/marked@c4a3ccd · GitHub MISC github.com
[SECURITY] Fedora 36 Update: gitqlient-1.5.0-2.fc36 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Cubic catastrophic backtracking (ReDoS) in `block.def` · Advisory · markedjs/marked · GitHub CONFIRM github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 184347 Debian Security Update for node-marked (CVE-2022-21680)
  • 283195 Fedora Security Update for gitqlient (FEDORA-2022-784d729f30)
© CVE.report 2026 |

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.

Free CVE JSON API cve.report/api

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