markdown-it html_re.js redos (markdown-it)
At a glance
- Source
- NVD
- EPSS
- EPSS 1.03 % · percentile 64 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- VulDB
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-1333 — Inefficient Regular Expression Complexity
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | LOW 3.5 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L | VulDB |
| CVSS 3.0 | LOW 3.5 | CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L | VulDB |
| CVSS 3.1 | LOW 3.5 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L | NVD · cna@vuldb.com (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-j5p7-jf4q-742q — markdown-it vulnerable to Inefficient Regular Expression Complexity
European references
- ENISA EUVD · EUVD-2022-7658
- GCVE · GCVE-0-2015-10005
Affected configurations (NVD CPE)
cpe:2.3:a:markdown-it_project:markdown-it:*:*:*:*:*:*:*:*< 3.0.0
Affected products
| Product | Versions |
|---|---|
| markdown-it | affected 2.x |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |