CVE-2021-23566
MEDIUMCVSS 5.5/10EPSS 0.44%
Last modified
CVE-2021-23566 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.44% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nanoid Project | Nanoid | >= 3.0.0, < 3.1.31 |
References
- https://gist.github.com/artalar/bc6d1eb9a3477d15d2772e876169a444Exploit, Third Party Advisory
- https://github.com/ai/nanoid/commit/2b7bd9332bc49b6330c7ddb08e5c661833db2575Patch, Third Party Advisory
- https://github.com/ai/nanoid/pull/328Exploit, Issue Tracking, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2332550Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-NANOID-2332193Exploit, Third Party Advisory
- https://gist.github.com/artalar/bc6d1eb9a3477d15d2772e876169a444Exploit, Third Party Advisory
- https://github.com/ai/nanoid/commit/2b7bd9332bc49b6330c7ddb08e5c661833db2575Patch, Third Party Advisory
- https://github.com/ai/nanoid/pull/328Exploit, Issue Tracking, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2332550Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-NANOID-2332193Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
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.
How severe is CVE-2021-23566?
CVE-2021-23566 has a CVSS score of 5.5/10 (MEDIUM severity). The EPSS model estimates a 0.44% probability of exploitation in the next 30 days.
How do I fix CVE-2021-23566?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-23555The package vm2 before 3.9.6 are vulnerable to Sandbox Bypas…9.8
- CVE-2021-23556The package guake before 3.8.5 are vulnerable to Exposed Dan…8
- CVE-2021-23558The package bmoor before 0.10.1 are vulnerable to Prototype …9.8
- CVE-2021-2356Vulnerability in the MySQL Server product of Oracle MySQL (c…5.9
- CVE-2021-23561All versions of package comb are vulnerable to Prototype Pol…9.8
- CVE-2021-23562This affects the package plupload before 2.3.9. A file name …8.8
- CVE-2021-23567The package colors after 1.4.0 are vulnerable to Denial of S…7.5
- CVE-2021-23568The package extend2 before 1.0.1 are vulnerable to Prototype…9.8
- CVE-2021-2357Vulnerability in the MySQL Server product of Oracle MySQL (c…4.9
- CVE-2021-23574All versions of package js-data are vulnerable to Prototype …9.8
- CVE-2021-2358Vulnerability in the Oracle Access Manager product of Oracle…4.9
- CVE-2021-2359Vulnerability in the Oracle Marketing product of Oracle E-Bu…8.2
Are you affected by CVE-2021-23566?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
