Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Cubic catastrophic backtracking (ReDoS) in marked

CVSS 3.1 7.5 HIGHEUVD CVSS 3.1 7.5 CVSS 3.1 · [email protected] · Secondary 7.5 HIGHCVSS 3.1 · [email protected] · Primary 7.5 HIGHCVSS 2.0 · [email protected] · Primary 5.0 MEDIUMCVSS_V3 Publisher rating HIGHFixed by marked 4.0.10KEV status unknown

cve-program · CVE-2022-21680

Published

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.

Read the publisher's advisory

euvd · EUVD-2022-0691

Published

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.

Read the publisher's advisory

nvd · CVE-2022-21680

Published

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.

Read the publisher's advisory

osv · GHSA-rrrm-qjm4-v8hf

Published

### Impact _What kind of vulnerability is it?_ Denial of service. The regular expression `block.def` may cause catastrophic backtracking against some strings. PoC is the following. ```javascript import * as marked from "marked"; marked.parse(`[x]:${' '.repeat(1500)}x ${' '.repeat(1500)} x`); ``` _Who is impacted?_ Anyone who runs untrusted markdown through marked and does not use a worker with a time limit. ### Patches _Has the problem been patched?_ Yes _What versions should users upgrade to?_ 4.0.10 ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ Do not run untrusted markdown through marked or run marked on a [worker](https://marked.js.org/using_advanced#workers) thread and set a reasonable time limit to prevent draining resources. ### References _Are there any links users can visit to find out more?_ - https://marked.js.org/using_advanced#workers - 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](https://github.com/markedjs/marked)

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2022-21680

Published

marked

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "markedjs",
                    "product": "marked",
                    "versions": [
                        {
                            "version": "< 4.0.10",
                            "status": "affected"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2022-0691

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Jan 14, 2022, 12:00:00 AM

dateUpdated: Apr 22, 2025, 6:33:37 PM

2 related source bulletins · separate from aliases

WID-SEC-W-2023-0426: IBM Spectrum Protect: Mehrere Schwachstellen

CVE-2021-20373 · CVE-2021-23222 · CVE-2021-23727 · CVE-2021-29678 · CVE-2021-33026 · CVE-2021-35517 · CVE-2021-35578 · CVE-2021-36090 · CVE-2021-38926 · CVE-2021-38931 · CVE-2021-39002 · CVE-2021-4034 · CVE-2021-41617 · CVE-2021-44716 · CVE-2021-44717 · CVE-2022-0235 · CVE-2022-0391 · CVE-2022-21680 · CVE-2022-21681 · CVE-2022-22346 · CVE-2022-22348 · CVE-2022-22354 · CVE-2022-23772 · CVE-2022-23773 · CVE-2022-23806

RHSA-2023:3642: Red Hat Security Advisory: Red Hat Ceph Storage 6.1 Container security and bug fix update

CVE-2021-42581 · CVE-2022-1650 · CVE-2022-1705 · CVE-2022-2880 · CVE-2022-21680 · CVE-2022-21681 · CVE-2022-23498 · CVE-2022-24675 · CVE-2022-24785 · CVE-2022-26148 · CVE-2022-27664 · CVE-2022-28131 · CVE-2022-28327 · CVE-2022-29526 · CVE-2022-30629 · CVE-2022-30630 · CVE-2022-30631 · CVE-2022-30632 · CVE-2022-30633 · CVE-2022-30635 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-31123 · CVE-2022-31130 · CVE-2022-32148 · CVE-2022-32189 · CVE-2022-32190 · CVE-2022-35957 · CVE-2022-39201 · CVE-2022-39229 · CVE-2022-39306 · CVE-2022-39307 · CVE-2022-39324 · CVE-2022-41715 · CVE-2022-41912

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2022-21680

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Modified

Weakness classifications: CWE-400 · CWE-1333

Original publisher date fields

published: 2022-01-14T17:15:13.210

lastModified: 2026-06-17T04:26:44.973

2 source CPE criteria · context only
  • cpe:2.3:a:marked_project:marked:*:*:*:*:*:node.js:*:*
  • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-rrrm-qjm4-v8hf

Published

marked

npm

SEMVER · introduced 0 → fixed 4.0.10

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 19 Nov 05:53 UTC · 273 of 275 readable · 269 fully read · documentation 469/469 current