CVE-2021-23566
CVSS v3
5.5
MEDIUM
EPSS Score
0.4 %
exploit probability, as of 2026-10-16
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for nanoid. Watch nanoid in CVE Watch Free account · no credit card
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- nanoidnpmfrom 3.0.0 · fixed in 3.1.31
Vendor advisories
nanoid: Information disclosure via valueOf() function
migration-toolkit-virtualization/mtv-ui-rhel8 as a component of Migration Toolkit for Virtualization · rhacm2/console-rhel8 as a component of Red Hat Advanced Cluster Management for Kubernetes 2 · rhacm2/grc-ui-rhel8 as a component of Red Hat Advanced Cluster Management for Kubernetes 2
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.11.0 security, enhancement, & bugfix update
Red Hat Security Advisory: OpenShift Container Platform 4.11.0 bug fix and security update
Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.4.3 security updates and bug fixes
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.
Technical details
- Published
- 2022-01-14
Frequently asked questions
What is CVE-2021-23566?
Is CVE-2021-23566 actively exploited?
What is the CVSS score for CVE-2021-23566?
Running nanoid? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · 50 free checks/month · Free API key
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.