Name | CVE-2021-23566 |
Description | The 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. |
Source | CVE (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 Package | Release | Version | Status |
---|
node-postcss (PTS) | buster | 6.0.23-1 | vulnerable |
| bullseye | 8.2.1+~cs5.3.23-8 | vulnerable |
| bookworm | 8.4.20+~cs8.0.23-1 | fixed |
| sid, trixie | 8.4.49+~cs9.2.32-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
node-postcss | source | buster | (unfixed) | end-of-life | | |
node-postcss | source | (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