نسخههای متأثر
- نسخههای متأثر
- < 12.3.2
- نسخهٔ اصلاحشده
- 12.3.2
- نسخههای متأثر
- >=1.0.3 <=1.0.3
- نسخهٔ اصلاحشده
- 1.1.0
بهرهبرداری
شرح آسیبپذیری
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
پیوندها
- https://github.com/advisories/GHSA-6vfc-qv3f-vr6c
- https://github.com/markdown-it/markdown-it
- https://github.com/markdown-it/markdown-it/commit/ffc49ab46b5b751cd2be0aabb146f2ef84986101
- https://github.com/markdown-it/markdown-it/security/advisories/GHSA-6vfc-qv3f-vr6c
- https://nvd.nist.gov/vuln/detail/CVE-2022-21670
- https://www.wordfence.com/threat-intel/vulnerabilities/id/67b468f7-21c7-424a-a65c-172ef47f0465?source=api-prod
گزارشدهندگان
- makenowjust

