figlet is vulnerable to denial of service via unbounded loop when whitespaceBreak is used with a small width
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| patorjk | figlet.js | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Patorjk | Figlet.js |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-62ch-8vmq-8xm7 | figlet is vulnerable to denial of service via unbounded loop when whitespaceBreak is used with a small width |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.495% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Patorjk
Patorjk figlet.js |
|
| Vendors & Products |
Patorjk
Patorjk figlet.js |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | figlet is vulnerable to denial of service via unbounded loop when whitespaceBreak is used with a small width | |
| Weaknesses | CWE-835 | |
| References |
| |
| Metrics |
cvssV4_0
|