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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
1.16% (78th 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 Learn

Learn about Inefficient Regular Expression Complexity vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN11-NODEMARKDOWNIT-2332562
  • 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:11 node-markdown-it to version 10.0.0+dfsg-2+deb11u1 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:11 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