🛡️ CVE-2022-21670 on Debian — node-markdown-it
Description
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.
Distribution advisory
This page covers CVE-2022-21670 as tracked by Debian, for the package node-markdown-it. The fix is available in version 10.0.0+dfsg-6; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability low.
Weakness class
DEBIAN-CVE-2022-21670 is classified as CWE-1333: Inefficient Regular Expression Complexity. A regular expression backtracks catastrophically on crafted input, consuming CPU out of proportion to input size.
Affected software
DEBIAN-CVE-2022-21670 is recorded against 1 package.
- node-markdown-it (fixed in 10.0.0+dfsg-6)
Timeline and source
Published on 10 January 2022 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2022-21670 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| node-markdown-it | — | 10.0.0+dfsg-6 |
References
Similar Threats
- Unknown UBUNTU-CVE-2026-48801
- Unknown DEBIAN-CVE-2026-48988
- Unknown UBUNTU-CVE-2026-48988
- Unknown UBUNTU-CVE-2026-2327
- Unknown DEBIAN-CVE-2025-7969
Vulnerability Monitoring
Track new vulnerabilities in node-markdown-it
DEBIAN-CVE-2022-21670 is rated CVSS 5.3 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.