Skip to main content
MEDIUM

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

  • CVE-2021-23566 Red Hat Product Security7 products fixed · 7 known affected

    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

  • RHSA-2022:6156 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.11.0 security, enhancement, & bugfix update

  • RHSA-2022:5069 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.11.0 bug fix and security update

  • RHSA-2022:1476 Red Hat Product Security221 products fixed

    Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.4.3 security updates and bug fixes

Full record on NVD

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?

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.

Is CVE-2021-23566 actively exploited?

Active exploitation of CVE-2021-23566 has not been confirmed. Its EPSS score was 0.4% on 2026-10-16, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-23566?

CVE-2021-23566 has a CVSS v3 base score of 5.5 (MEDIUM severity).

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