Resource exhaustion in Markdown-it
CVE-2022-21670
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 k…
Vulnerability class: DoS (Denial of Service)
EPSS: 0.022 (79.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
Affected products
- Markdown-it — versions < 12.3.2
- Markdown-it_project Markdown-it
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2022-21670?
- CVE-2022-21670 is a medium-severity vulnerability in Markdown-it, classified under Uncontrolled Resource Consumption. CVSS score: 5.3/10. Published 2022-01-10.
- How severe is CVE-2022-21670?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2022-21670 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.