A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
figlet.js is a FIG driver written in JavaScript that aims to implement the FIGfont specification. Prior to 1.11.3, text() and textSync() can enter an unbounded loop when whitespaceBreak is enabled and width is smaller than the rendered width of a single FIGlet character. Under these conditions, breakWord() cannot find a valid break point and returns without consuming a character, so generateFigTextLines() repeatedly processes the same input while consuming CPU and growing memory. The non-default option and attacker-controlled width must both reach an affected call. This issue is fixed in version 1.11.3.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /patorjk/figlet.js/commit/cb2839d0e53aeafbd361e9587abc72e49…
- github.com /patorjk/figlet.js/pull/169
- github.com /patorjk/figlet.js/security/advisories/GHSA-62ch-8vmq-8xm7
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning