
CVE catalog
CVE-2021-23566
node-postcss: CVE-2021-23566
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.44% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-mocha | sid | 12.0.3+~cs20.0.13-3 | fixed |
| Debian | node-mocha | forky | 12.0.3+~cs20.0.13-3 | fixed |
| Debian | node-mocha | trixie | 10.7.2+ds1+~cs33.1.11-2 | fixed |
| Debian | node-mocha | bookworm | 10.1.0+ds1+~cs29.3.1-1 | fixed |
| Debian | node-postcss | sid | 8.5.31+~cs10.2.26-1 | fixed |
| Debian | node-postcss | forky | 8.5.31+~cs10.2.26-1 | fixed |
| Debian | node-postcss | trixie | 8.4.49+~cs9.2.32-1 | fixed |
| Debian | node-postcss | bookworm | 8.4.20+~cs8.0.23-1+deb12u1 | fixed |
| Npm | nanoid | Not reported | 3.1.31 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-mocha | source | sid | 9.1.4+ds1+~cs28.2.8-1 | not yet assigned | Not reported | Not reported |
| Debian | node-mocha | source | forky | 9.1.4+ds1+~cs28.2.8-1 | not yet assigned | Not reported | Not reported |
| Debian | node-mocha | source | trixie | 9.1.4+ds1+~cs28.2.8-1 | not yet assigned | Not reported | Not reported |
| Debian | node-mocha | source | bookworm | 9.1.4+ds1+~cs28.2.8-1 | not yet assigned | Not reported | Not reported |
| Debian | node-postcss | source | sid | 8.4.5+~cs7.1.51-1 | not yet assigned | Not reported | Not reported |
| Debian | node-postcss | source | forky | 8.4.5+~cs7.1.51-1 | not yet assigned | Not reported | Not reported |
| Debian | node-postcss | source | trixie | 8.4.5+~cs7.1.51-1 | not yet assigned | Not reported | Not reported |
| Debian | node-postcss | source | bookworm | 8.4.5+~cs7.1.51-1 | not yet assigned | Not reported | Not reported |
| Npm | nanoid | npm | Not reported | 3.1.31 | Not reported | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [mocha]Fixed
Source package: [node-mocha]
Details (2)
10.1.0+ds1+~cs29.3.1-1· all · bookwormFixed · Fixed:
9.1.4+ds1+~cs28.2.8-1dsa · node-mocha · debian · bookworm; dsa · node-mocha · debian · 12
10.1.0+ds1+~cs29.3.1-1· all · bookwormFixed · Fixed:
9.1.4+ds1+~cs28.2.8-1dsa · node-mocha · debian · bookworm; dsa · node-mocha · debian · 12
- [node-postcss]Fixed
Details (2)
8.4.20+~cs8.0.23-1+deb12u1· all · bookwormFixed · Fixed:
8.4.5+~cs7.1.51-1dsa · node-postcss · debian · bookworm; dsa · node-postcss · debian · 12
8.4.20+~cs8.0.23-1+deb12u1· all · bookwormFixed · Fixed:
8.4.5+~cs7.1.51-1dsa · node-postcss · debian · bookworm; dsa · node-postcss · debian · 12
[Debian 13 (Trixie)]
- [mocha]Fixed
Source package: [node-mocha]
Details (2)
10.7.2+ds1+~cs33.1.11-2· all · trixieFixed · Fixed:
9.1.4+ds1+~cs28.2.8-1dsa · node-mocha · debian · 13
10.7.2+ds1+~cs33.1.11-2· all · trixieFixed · Fixed:
9.1.4+ds1+~cs28.2.8-1dsa · node-mocha · debian · 13
- [node-postcss]Fixed
Details (2)
8.4.49+~cs9.2.32-1· all · trixieFixed · Fixed:
8.4.5+~cs7.1.51-1dsa · node-postcss · debian · 13
8.4.49+~cs9.2.32-1· all · trixieFixed · Fixed:
8.4.5+~cs7.1.51-1dsa · node-postcss · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-23566]
- [https://osv.dev/vulnerability/DLA-4003-1]
- [https://osv.dev/vulnerability/DLA-4013-1]
- [https://osv.dev/vulnerability/GHSA-qrpm-p2h7-hrv2]
- [https://security-tracker.debian.org/tracker/CVE-2021-23566]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-23566.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-0235.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]