Skip to content

CVE-2024-55565 Predictable results in nanoid generation when given non-integer values

MediumCVSS 4.3 EPSS 0.66%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

nanoid (aka Nano ID) before 5.0.9 mishandles non-integer values. 3.3.8 is also a fixed version.

Upgrade path

9 packages: 7 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/node-postcss(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/node-postcss(Ubuntu 24.04) All versions No fix listed No fix yet
debian/node-mocha(Debian 12) < 9.1.4+ds1+~cs28.2.8-1 9.1.4+ds1+~cs28.2.8-1 Fixed
debian/node-mocha(Debian 13) < 9.1.4+ds1+~cs28.2.8-1 9.1.4+ds1+~cs28.2.8-1 Fixed
debian/node-mocha(Debian 14) < 9.1.4+ds1+~cs28.2.8-1 9.1.4+ds1+~cs28.2.8-1 Fixed
debian/node-postcss(Debian 12) < 8.4.20+~cs8.0.23-1+deb12u1; = 8.4.20+~cs8.0.23-1 8.4.20+~cs8.0.23-1+deb12u1 Fixed
debian/node-postcss(Debian 13) < 8.4.49+~cs9.2.32-1 8.4.49+~cs9.2.32-1 Fixed
debian/node-postcss(Debian 14) < 8.4.49+~cs9.2.32-1 8.4.49+~cs9.2.32-1 Fixed
npm nanoid(npm) < 3.3.8; >= 4.0.0, < 5.0.9 3.3.8, 5.0.9 Fixed

Affected products

ProductAffected versionsFixed in
debian/node-mocha(Debian:12) < 9.1.4+ds1+~cs28.2.8-1 9.1.4+ds1+~cs28.2.8-1
debian/node-mocha(Debian:13) < 9.1.4+ds1+~cs28.2.8-1 9.1.4+ds1+~cs28.2.8-1
debian/node-mocha(Debian:14) < 9.1.4+ds1+~cs28.2.8-1 9.1.4+ds1+~cs28.2.8-1
debian/node-postcss(Debian:12) < 8.4.20+~cs8.0.23-1+deb12u1 8.4.20+~cs8.0.23-1+deb12u1
debian/node-postcss(Debian:12) = 8.4.20+~cs8.0.23-1 No fix listed
debian/node-postcss(Debian:13) < 8.4.49+~cs9.2.32-1 8.4.49+~cs9.2.32-1
debian/node-postcss(Debian:14) < 8.4.49+~cs9.2.32-1 8.4.49+~cs9.2.32-1
npm nanoid(npm) >= 4.0.0, < 5.0.9 5.0.9
npm nanoid(npm) < 3.3.8 3.3.8
ubuntu/node-postcss(Ubuntu:22.04) All versions No fix listed
ubuntu/node-postcss(Ubuntu:24.04) All versions No fix listed

References