Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-23566

21
FAUCET Score

CVE-2021-23566 describes an information exposure vulnerability in the nanoid package versions 3.0.0 through 3.1.30, where the valueOf() function can inadvertently reveal the last generated ID. This medium-severity vulnerability (CVSS 5.5) has a low attack complexity and requires local access and low privileges to potentially expose sensitive information, but does not impact integrity or availability. There is currently no evidence of active exploitation, public exploit code, or significant community discussion surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
>= 3.0.0, < 3.1.31CPE matchmatch criteria
cpe:2.3:a:nanoid_project:nanoid:*:*:*:*:*:node.js:*:*

CVSS Data

CVSS version used by this source: 3.1

4.0MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
LOW
Integrity Impact
NONE
Availability Impact
NONE
Exploitability Score
2.5
Impact Score
1.4
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.44%
Probability of exploitation in next 30 days
EPSS Percentile
36.0%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0044 is in the 90th percentile among its peer group of 15,938 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.0 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (11)

github_advisorypatch availablevia nvd_reference
View patch
npmpatch availablevia ghsa
Product: nanoidFixed in: 3.1.31
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.11Fixed in: openshift4/ose-thanos-rhel8:v4.11.0-202208020235.p0.gf08da2d.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Data Foundation 4.11 on RHEL8Fixed in: odf4/mcg-core-rhel8:v4.11.0-30
View patch
redhatvendor investigatingvia redhat_api
Product: Migration Toolkit for VirtualizationFixed in: migration-toolkit-virtualization/mtv-ui-rhel8
redhatno patchvia redhat_api
Product: Red Hat Advanced Cluster Management for Kubernetes 2Fixed in: rhacm2/console-rhel8
redhatno patchvia redhat_api
Product: Red Hat Advanced Cluster Management for Kubernetes 2Fixed in: rhacm2/grc-ui-rhel8
redhatno patchvia redhat_api
Product: Red Hat Advanced Cluster Management for Kubernetes 2Fixed in: rhacm2/kui-web-terminal-rhel8
redhatno patchvia redhat_api
Product: Red Hat Advanced Cluster Management for Kubernetes 2Fixed in: rhacm2/search-ui-rhel8
redhatend of lifevia redhat_api
Product: Red Hat Ansible Automation Platform 2Fixed in: automation-controller
redhatend of lifevia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/ose-prometheus-rhel9

Vendor Advisories (2)

npmGHSA-qrpm-p2h7-hrv2medium

Exposure of Sensitive Information to an Unauthorized Actor in nanoid

Jan 21, 2022
redhatCVE-2021-23566Moderate

nanoid: Information disclosure via valueOf() function

Jan 21, 2022

References

lists.debian.org / debian-lts-announce/2024/12/msg00025.html
lists.debian.org / debian-lts-announce/2025/01/msg00006.html
gist.github.com / artalar/bc6d1eb9a3477d15d2772e876169a444
ExploitThird Party Advisory
github.com / ai/nanoid/commit/2b7bd9332bc49b6330c7ddb08e5c661833db2575
PatchThird Party Advisory
github.com / ai/nanoid/pull/328
ExploitIssue TrackingPatchThird Party Advisory
snyk.io / vuln/SNYK-JAVA-ORGWEBJARSNPM-2332550
ExploitThird Party Advisory
snyk.io / vuln/SNYK-JS-NANOID-2332193
ExploitThird Party Advisory