CVE-2021-23566

unknown
Published 2022-01-21 · Modified 2025-11-04
CVSS v3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v2
VIR risk

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-23566

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed9.1.4+ds1+~cs28.2.8-1
debian debianbullseyefixed8.2.1+ds1+~cs29.4.27-3+deb11u1
debian debianforkyfixed9.1.4+ds1+~cs28.2.8-1
debian debiansidfixed9.1.4+ds1+~cs28.2.8-1
debian debiantrixiefixed9.1.4+ds1+~cs28.2.8-1

Package impact

EcosystemPackageVulnerableFixed
npm npmnanoid>=3.0.0,<3.1.313.1.31

References

Verify integrity in audit chain (admin only). AS-IS.