Read the docs
TI-2021-06164 Aliases CVE-2021-23566GHSA-qrpm-p2h7-hrv2

Information exposure in nanoid

Priority LOW 25CWE-704Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 2 fixed, 4 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-200.

Summary

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.

Why it matters now

EPSS 0.00473 41st percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Partial nanoid: 3.1.31nanoid (npm): 3.1.31Red Hat: 3 advisoriesRed Hat: 2 fixed, 4 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—nanoidbefore 3.1.313.1.31Patch availableCNA
—nanoid (npm)3.0.0 to before 3.1.313.1.31Patch availableGHSA-qrpm-p2h7-hrv2
  • nanoid Vendor— Affected before 3.1.31 Fixed in 3.1.31 Patch available CNA
  • nanoid (npm) Vendor— Affected 3.0.0 to before 3.1.31 Fixed in 3.1.31 Patch available GHSA-qrpm-p2h7-hrv2

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:nanoid_project:nanoid:*:*:*:*:*:node.js:*:*3.0.0 to before 3.1.31Vulnerablenanoid_project
  • cpe:2.3:a:nanoid_project:nanoid:*:*:*:*:*:node.js:*:* Versions 3.0.0 to before 3.1.31 Vulnerable ·nanoid_project

Remediation

  • Fix · CNA nanoid Fixed in 3.1.31
  • Fix · GHSA-qrpm-p2h7-hrv2 nanoid (npm) Fixed in 3.1.31 Advisory →

Red Hat 3 advisories

  • RHSA-2022:6156 Released 2022-08-24 · Red Hat rating Important
    Red Hat OpenShift Data Foundation 4.11.0 security, enhancement, & bugfix update
    • RHODF 4.11 for RHEL 8 odf4/cephcsi-rhel8, odf4/mcg-core-rhel8, odf4/mcg-rhel8-operator +12
  • RHSA-2022:5069 Released 2022-08-10 · Red Hat rating Important
    OpenShift Container Platform 4.11.0 bug fix and security update
    • Red Hat OpenShift Container Platform 4.11 openshift4/ose-alibaba-disk-csi-driver-operator-container-rhel8, openshift4/ose-alibaba-machine-controllers-rhel8, openshift4/ose-aws-ebs-csi-driver-rhel8 +47
  • RHSA-2022:1476 Released 2022-04-21 · Red Hat rating Moderate
    Red Hat Advanced Cluster Management 2.4.3 security updates and bug fixes
    • Red Hat Advanced Cluster Management for Kubernetes 2.4 for RHEL 8 rhacm2/acm-grafana-rhel8, rhacm2/acm-must-gather-rhel8, rhacm2/acm-operator-bundle +47

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Migration Toolkit for VirtualizationAffectedNo fix yet: Fix deferred
Red Hat Advanced Cluster Management for Kubernetes 2AffectedNo fix yet
Red Hat Ansible Automation Platform 2AffectedNo fix planned: Will not fix
Red Hat OpenShift Container Platform 4AffectedNo fix planned: Will not fix
RHODF 4.11 for RHEL 8Fixed RHSA-2022:6156
Red Hat OpenShift Container Platform 4.11Fixed RHSA-2022:5069
Not affected: 7 products
  • OpenShift Developer Tools and Services
  • RHODF 4.11 for RHEL 8
  • Red Hat Data Grid 8
  • Red Hat JBoss Enterprise Application Platform 7
  • Red Hat JBoss Enterprise Application Platform Expansion Pack
  • Red Hat OpenShift Container Platform 4
  • Red Hat OpenShift Container Platform 4.11

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-23566
  2. 2026-10-03 Alias added: GHSA-qrpm-p2h7-hrv2

References

  • TI-2026-47530 nanoid Infinite Loop via Negative Size in non-secure module CVSS 4.0HIGH 8.2
  • TI-2026-47529 nanoid before 5.1.6 Infinite Loop via Zero Size in customAlphabet and customRandom CVSS 4.0HIGH 8.2

Sources