همهٔ گزارش‌ها
متوسط

Uncontrolled Resource Consumption in markdown-it

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
< 12.3.2
نسخهٔ اصلاح‌شده
12.3.2
نسخه‌های متأثر
>=1.0.3 <=1.0.3
نسخهٔ اصلاح‌شده
1.1.0

بهره‌برداری

CVE-2022-21670

احتمال بهره‌برداری در ۳۰ روز آینده: 2.36%

FIRST EPSS · ۱۴۰۵/۰۸/۲۹

شرح آسیب‌پذیری

Impact

Special patterns with length > 50K chars can slow down parser significantly.

const md = require('markdown-it')();

md.render(`x ${' '.repeat(150000)} x  \nx`);
Patches

Upgrade to v12.3.2+

Workarounds

No.

References

Fix + test sample: https://github.com/markdown-it/markdown-it/commit/ffc49ab46b5b751cd2be0aabb146f2ef84986101

پیوندها

گزارش‌دهندگان

  • makenowjust

حقوق و مجوز داده‌ها

Wordfence

Copyright 2012-2026 Defiant Inc.

Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.

شرایط مجوز

Copyright 1999-2026 The MITRE Corporation

CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.

شرایط مجوز