CVE-2021-23566

NameCVE-2021-23566
DescriptionThe package nanoid from 3.0.0 and before 3.1.31 are vulnerable to Information Exposure via the valueOf() function which allows to reproduce the last id generated.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-postcss (PTS)buster6.0.23-1vulnerable
bullseye8.2.1+~cs5.3.23-8vulnerable
bookworm8.4.20+~cs8.0.23-1fixed
sid, trixie8.4.49+~cs9.2.32-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-postcsssourcebuster(unfixed)end-of-life
node-postcsssource(unstable)8.4.5+~cs7.1.51-1

Notes

https://github.com/ai/nanoid/commit/2b7bd9332bc49b6330c7ddb08e5c661833db2575 (3.1.31)
https://github.com/ai/nanoid/pull/328

Search for package or bug name: Reporting problems