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 known workarounds aside from upgrading.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.022 (81.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 82nd percentile — 81.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.022 · newest: 0.022 · change: 0.000
Affected products
- Markdown-It — versions < 12.3.2
- Markdown-It Project
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/markdown-it/markdown-it/security/advisories/GHSA-6vfc-qv3f-vr6c (Exploit, Third Party Advisory)
- github.com/markdown-it/markdown-it/commit/ffc49ab46b5b751cd2be0aabb146f2ef84986… (Patch, Third Party Advisory)
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.