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 v4 NEW
โ€”
not yet in upstream
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

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 9.1.4+ds1+~cs28.2.8-1
sid Fixed 9.1.4+ds1+~cs28.2.8-1
forky Fixed 9.1.4+ds1+~cs28.2.8-1
bullseye Fixed 8.2.1+ds1+~cs29.4.27-3+deb11u1
bookworm Fixed 9.1.4+ds1+~cs28.2.8-1

Package impact

EcosystemPackageVulnerableFixed
npm npmnanoid>=3.0.0,<3.1.313.1.31

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

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