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.
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
