Bug 2522019 - CVE-2026-67213 fbthrift: nanoid: Denial of Service via infinite loop in random ID generation [fedora-all]
Summary: CVE-2026-67213 fbthrift: nanoid: Denial of Service via infinite loop in rando...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: fbthrift
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Michel Lind
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["94d50fa1-8b52-494e-b604-5...
Depends On:
Blocks: CVE-FalsePositive-Unshipped CVE-2026-67213
TreeView+ depends on / blocked
 
Reported: 2026-08-24 15:30 UTC by Joel Chamberlain
Modified: 2026-08-25 14:14 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-08-25 14:14:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joel Chamberlain 2026-08-24 15:30:31 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

nanoid (Nano ID) before 5.1.6 contains an infinite loop in the customAlphabet and customRandom functions. When these functions are configured with a size of 0, the internal generation loop never satisfies its exit condition and spins indefinitely, hanging the calling thread. An application that passes an unvalidated, attacker-controlled size of 0 to these functions is exposed to a denial-of-service condition.

Comment 1 Michel Lind 2026-08-25 14:14:42 UTC
This CVE is in a JavaScript/NodeJS package; the JavaScript here is not shipped in the binary RPMs.


Note You need to log in before you can comment on or make changes to this bug.