CVE-2024-55565
MEDIUM4.3EPSS 0.11%Predictable results in nanoid generation when given non-integer values
Published: 12/9/2024Modified: 4/28/2026
Description
nanoid (aka Nano ID) before 5.0.9 mishandles non-integer values. 3.3.8 is also a fixed version.
Affected packages (3)
- Debian/node-mochafrom 0, < 8.2.1+ds1+~cs29.4.27-3+deb11u1
- Debian/node-postcssfrom 0, < 8.2.1+~cs5.3.23-8+deb11u1
- npm/nanoid>= 4.0.0, < 5.0.9
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-55565
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-55565
- PATCHhttps://github.com/ai/nanoid
- WEBhttps://github.com/ai/nanoid/compare/3.3.7...3.3.8
- WEBhttps://github.com/ai/nanoid/pull/510
- WEBhttps://github.com/ai/nanoid/releases/tag/5.0.9
- WEBhttps://lists.debian.org/debian-lts-announce/2024/12/msg00025.html
- WEBhttps://lists.debian.org/debian-lts-announce/2025/01/msg00006.html