Vulnerability Monitor

The vendors, products, and vulnerabilities you care about

CVE-2022-21680


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.


Published

2022-01-14T17:15:13.210

Last Modified

2024-11-21T06:45:13.070

Status

Modified

Source

[email protected]

Severity

CVSSv3.1: 7.5 (HIGH)

CVSSv2 Vector

AV:N/AC:L/Au:N/C:N/I:N/A:P

  • Access Vector: NETWORK
  • Access Complexity: LOW
  • Authentication: NONE
  • Confidentiality Impact: NONE
  • Integrity Impact: NONE
  • Availability Impact: PARTIAL
Exploitability Score

10.0

Impact Score

2.9

Weaknesses
  • Type: Secondary
    CWE-400
    CWE-1333
  • Type: Primary
    CWE-1333

Affected Vendors & Products
Type Vendor Product Version/Range Vulnerable?
Application marked_project marked < 4.0.10 Yes
Operating System fedoraproject fedora 36 Yes

References