CVE-2021-23566 Information Exposure
MediumCVSS 5.5
EPSS 0.47%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
22 packages: 8 fixed, 14 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/node-mocha(Ubuntu 16.04) | = 1.20.1-1; = 1.20.1-2; All versions | No fix listed | No fix yet |
| ubuntu/node-mocha(Ubuntu 18.04) | = 1.20.1-7; All versions | No fix listed | No fix yet |
| ubuntu/node-mocha(Ubuntu 20.04) | = 4.1.0+ds3-5; = 7.0.1+ds1-2; All versions | No fix listed | No fix yet |
| ubuntu/node-mocha(Ubuntu 22.04) | = 8.2.1+ds1+~cs29.4.27-3; = 9.1.3+ds1+~cs31.2.38-1; = 9.2.0+ds1+~cs28.3.8-1; = 9.2.1+ds1+~cs28.3.8-1 +1 more | No fix listed | No fix yet |
| ubuntu/node-mocha(Ubuntu 24.04) | = 10.2.0+ds1+~cs29.5.1-1; = 10.4.0+ds1+~cs33.1.8-1; All versions | No fix listed | No fix yet |
| ubuntu/node-mocha(Ubuntu 25.10) | = 10.7.2+ds1+~cs33.1.11-2; All versions | No fix listed | No fix yet |
| ubuntu/node-mocha(Ubuntu 26.04) | = 10.7.2+ds1+~cs33.1.11-2; = 11.7.2+ds1+~cs36.3.14-2build1; = 11.7.5+ds1+~cs36.3.14-2; All versions | No fix listed | No fix yet |
| ubuntu/node-mocha(Ubuntu 26.10) | = 11.7.5+ds1+~cs36.3.14-2; = 11.7.7+ds1+~cs36.3.16-1; = 11.8.0+ds1+~cs36.4.12-1; = 11.8.0+ds1+~cs36.4.12-2 +1 more | No fix listed | No fix yet |
| ubuntu/node-postcss(Ubuntu 20.04) | = 6.0.23-1; = 6.0.23-3; All versions | No fix listed | No fix yet |
| ubuntu/node-postcss(Ubuntu 22.04) | = 8.2.1+~cs5.3.23-8; = 8.4.5+~cs7.1.51-2; = 8.4.6+~cs7.3.21-1; All versions | No fix listed | No fix yet |
| ubuntu/node-postcss(Ubuntu 24.04) | = 8.4.20+~cs8.0.23-1; = 8.4.31+~cs8.0.26-1; All versions | No fix listed | No fix yet |
| ubuntu/node-postcss(Ubuntu 25.10) | = 8.4.49+~cs9.2.32-1; = 8.5.6+~cs9.3.28-1; All versions | No fix listed | No fix yet |
| ubuntu/node-postcss(Ubuntu 26.04) | = 8.5.6+~cs9.3.28-1; = 8.5.8+~cs9.3.30-1; All versions | No fix listed | No fix yet |
| ubuntu/node-postcss(Ubuntu 26.10) | = 8.5.8+~cs9.3.30-1; = 8.5.15+~cs9.3.34-1; = 8.5.15+~cs9.3.38-1; = 8.5.15+~cs9.3.39-1build1 +3 more | 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.5+~cs7.1.51-1 | 8.4.5+~cs7.1.51-1 | Fixed |
| debian/node-postcss(Debian 13) | < 8.4.5+~cs7.1.51-1 | 8.4.5+~cs7.1.51-1 | Fixed |
| debian/node-postcss(Debian 14) | < 8.4.5+~cs7.1.51-1 | 8.4.5+~cs7.1.51-1 | Fixed |
| nanoid project nanoid | >= 3.0.0, < 3.1.31 | 3.1.31 | Fixed |
| npm nanoid(npm) | >= 3.0.0, < 3.1.31 | 3.1.31 | Fixed |
Affected products
| Product | Affected versions | Fixed 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.5+~cs7.1.51-1 | 8.4.5+~cs7.1.51-1 |
| debian/node-postcss(Debian:13) | < 8.4.5+~cs7.1.51-1 | 8.4.5+~cs7.1.51-1 |
| debian/node-postcss(Debian:14) | < 8.4.5+~cs7.1.51-1 | 8.4.5+~cs7.1.51-1 |
| npm nanoid(npm) | >= 3.0.0, < 3.1.31 | 3.1.31 |
| ubuntu/node-mocha(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/node-postcss(Ubuntu:22.04) | All versions | No fix listed |
| nanoid project nanoid | >= 3.0.0, < 3.1.31 | 3.1.31 |
| ubuntu/node-mocha(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/node-postcss(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/node-mocha(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/node-postcss(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/node-mocha(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/node-postcss(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/node-mocha(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/node-mocha(Ubuntu:16.04) | = 1.20.1-1 | No fix listed |
| ubuntu/node-mocha(Ubuntu:16.04) | = 1.20.1-2 | No fix listed |
| ubuntu/node-mocha(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/node-mocha(Ubuntu:18.04) | = 1.20.1-7 | No fix listed |
| ubuntu/node-mocha(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/node-mocha(Ubuntu:20.04) | = 4.1.0+ds3-5 | No fix listed |
| ubuntu/node-mocha(Ubuntu:20.04) | = 7.0.1+ds1-2 | No fix listed |
| ubuntu/node-postcss(Ubuntu:20.04) | All versions | No fix listed |
Show 33 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/node-postcss(Ubuntu:20.04) | = 6.0.23-1 | No fix listed |
| ubuntu/node-postcss(Ubuntu:20.04) | = 6.0.23-3 | No fix listed |
| ubuntu/node-mocha(Ubuntu:22.04) | = 8.2.1+ds1+~cs29.4.27-3 | No fix listed |
| ubuntu/node-mocha(Ubuntu:22.04) | = 9.1.3+ds1+~cs31.2.38-1 | No fix listed |
| ubuntu/node-mocha(Ubuntu:22.04) | = 9.2.0+ds1+~cs28.3.8-1 | No fix listed |
| ubuntu/node-mocha(Ubuntu:22.04) | = 9.2.1+ds1+~cs28.3.8-1 | No fix listed |
| ubuntu/node-postcss(Ubuntu:22.04) | = 8.2.1+~cs5.3.23-8 | No fix listed |
| ubuntu/node-postcss(Ubuntu:22.04) | = 8.4.5+~cs7.1.51-2 | No fix listed |
| ubuntu/node-postcss(Ubuntu:22.04) | = 8.4.6+~cs7.3.21-1 | No fix listed |
| ubuntu/node-mocha(Ubuntu:24.04) | = 10.2.0+ds1+~cs29.5.1-1 | No fix listed |
| ubuntu/node-mocha(Ubuntu:24.04) | = 10.4.0+ds1+~cs33.1.8-1 | No fix listed |
| ubuntu/node-postcss(Ubuntu:24.04) | = 8.4.20+~cs8.0.23-1 | No fix listed |
| ubuntu/node-postcss(Ubuntu:24.04) | = 8.4.31+~cs8.0.26-1 | No fix listed |
| ubuntu/node-mocha(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/node-mocha(Ubuntu:25.10) | = 10.7.2+ds1+~cs33.1.11-2 | No fix listed |
| ubuntu/node-postcss(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/node-postcss(Ubuntu:25.10) | = 8.4.49+~cs9.2.32-1 | No fix listed |
| ubuntu/node-postcss(Ubuntu:25.10) | = 8.5.6+~cs9.3.28-1 | No fix listed |
| ubuntu/node-mocha(Ubuntu:26.10) | = 11.7.5+ds1+~cs36.3.14-2 | No fix listed |
| ubuntu/node-mocha(Ubuntu:26.10) | = 11.7.7+ds1+~cs36.3.16-1 | No fix listed |
| ubuntu/node-mocha(Ubuntu:26.10) | = 11.8.0+ds1+~cs36.4.12-1 | No fix listed |
| ubuntu/node-mocha(Ubuntu:26.10) | = 11.8.0+ds1+~cs36.4.12-2 | No fix listed |
| ubuntu/node-postcss(Ubuntu:26.10) | = 8.5.8+~cs9.3.30-1 | No fix listed |
| ubuntu/node-postcss(Ubuntu:26.10) | = 8.5.15+~cs9.3.34-1 | No fix listed |
| ubuntu/node-postcss(Ubuntu:26.10) | = 8.5.15+~cs9.3.38-1 | No fix listed |
| ubuntu/node-postcss(Ubuntu:26.10) | = 8.5.15+~cs9.3.39-1build1 | No fix listed |
| ubuntu/node-postcss(Ubuntu:26.10) | = 8.5.25+~cs10.2.23-1 | No fix listed |
| ubuntu/node-postcss(Ubuntu:26.10) | = 8.5.26+~cs10.2.24-1 | No fix listed |
| ubuntu/node-mocha(Ubuntu:26.04) | = 10.7.2+ds1+~cs33.1.11-2 | No fix listed |
| ubuntu/node-mocha(Ubuntu:26.04) | = 11.7.2+ds1+~cs36.3.14-2build1 | No fix listed |
| ubuntu/node-mocha(Ubuntu:26.04) | = 11.7.5+ds1+~cs36.3.14-2 | No fix listed |
| ubuntu/node-postcss(Ubuntu:26.04) | = 8.5.6+~cs9.3.28-1 | No fix listed |
| ubuntu/node-postcss(Ubuntu:26.04) | = 8.5.8+~cs9.3.30-1 | No fix listed |
References
- Debian Security Tracker CVE-2021-23566 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- gist.github.com exploit issue-tracking third-party-advisory
- snyk.io exploit issue-tracking third-party-advisory
- lists.debian.org
- lists.debian.org
- snyk.io exploit issue-tracking third-party-advisory
- github.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- github.com product