GitHub Advisoryadvisory · npm

GHSA-j5p7-jf4q-742q markdown-it vulnerable to Inefficient Regular Expression Complexity

HIGH Published 2022-12-27 Modified 2023-01-10 Official page ↗
Aliases
CVE-2015-10005
Ecosystem
npm
Packages
markdown-it
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-1333
Reviewed
2022-12-30

Affected packages

• npm markdown-it: < 3.0.0 → fixed in 3.0.0

Description

A vulnerability was found in markdown-it up to 2.x. It has been classified as problematic. Affected is an unknown function of the file `lib/common/html_re.js`. The manipulation leads to inefficient regular expression complexity. Upgrading to version 3.0.0 is able to address this issue. The name of the patch is 89c8620157d6e38f9872811620d25138fc9d1b0d. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-216852.

Related

Alias · CVE (1)

  • CVE-2015-10005 A vulnerability was found in markdown-it up to 2.x. vulnerability

Weakness · CWE (1)

  • CWE-1333 Inefficient Regular Expression Complexity weakness

References