Staging Environment: Content and features may be unstable or change without notice.

Advisory Weakness Curation

CVE-2022-21670

Progress 0 / 0

Advisory Summaries

github_osv/GHSA-6vfc-qv3f-vr6c

Uncontrolled Resource Consumption in markdown-it ### Impact Special patterns with length > 50K chars can slow down parser significantly. ```js 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

gitlab/npm/markdown-it/CVE-2022-21670

Uncontrolled Resource Consumption in markdown-it markdown-it is a Markdown parser. special patterns with length greater than thousand characterss could slow down the parser significantly. Users should upgrade to to receive a patch. There are no known workarounds aside from upgrading.