Inefficient Regular Expression Complexity Affecting node-markdown-it package, versions <10.0.0+dfsg-6


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
2.15% (80th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-NODEMARKDOWNIT-2332558
  • published11 Jan 2022
  • disclosed10 Jan 2022

Introduced: 10 Jan 2022

CVE-2022-21670  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Debian:unstable node-markdown-it to version 10.0.0+dfsg-6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-markdown-it package and not the node-markdown-it package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

markdown-it is a Markdown parser. Prior to version 1.3.2, special patterns with length greater than 50 thousand characterss could slow down the parser significantly. Users should upgrade to version 12.3.2 to receive a patch. There are no known workarounds aside from upgrading.

CVSS Base Scores

version 3.1