Repository navigation
chore(deps): update dependency figlet to v1.11.3 [security] - #1898
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
1.7.0→1.11.3figlet is vulnerable to denial of service via unbounded loop when whitespaceBreak is used with a small width
CVE-2026-96780 / GHSA-62ch-8vmq-8xm7
More information
Details
Impact
A denial-of-service (infinite loop) can occur in
text()/textSync()whenboth:
whitespaceBreak: trueis set, andwidthis set smaller than the rendered width of a single FIGlet character.Under these conditions
breakWord()could never find a valid break point, so theword-wrapping loop in
generateFigTextLines()never terminated. This pins a CPUcore and grows memory without bound, blocking the Node.js event loop.
Severity
Low or Medium. Triggering requires a non-default configuration (
whitespaceBreak: true) andan attacker-controlled
widthvalue reachingtext()/textSync(). This library is typicallyused with fixed options, where this is not
reachable. Applications that pass an untrusted
widthtogether withwhitespaceBreakon a request path are affected.Patches
Fixed in figlet 1.11.3.
breakWord()now always makes forward progress(emitting an over-wide character on its own line), and FIGlet header parsing now
rejects invalid values (e.g. zero/negative height).
Workarounds
Do not expose
widthto untrusted input, or leavewhitespaceBreakdisabled(the default), or upgrade to 1.11.3.
Severity
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
patorjk/figlet.js (figlet)
v1.11.3: 1.11.3Compare Source
Bug fix for invalid input that can lead to infinite loop.
v1.11.2Compare Source
v1.11.1Compare Source
v1.11.0Compare Source
Added Future Thin and Future Smooth fonts.
v1.10.0Compare Source
v1.9.4Compare Source
v1.9.3Compare Source
v1.9.2Compare Source
v1.9.1Compare Source
Wrapped the structuredClone call in an
ifstatement for older versions of node.v1.9.0Compare Source
npm run test).v1.8.2Compare Source
v1.8.1Compare Source
v1.8.0Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.