VulnerabilityModified
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.
MEDIUM 5.5EPSS 0.44%
Does this matter?
Lower severity and a low EPSS score (0.44%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 5.5 MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 0.44% probability · 37th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-704
- Affected
- nanoid project/nanoid
- Source
- report@snyk.io
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://lists.debian.org/debian-lts-announce/2024/12/msg00025.html
- https://lists.debian.org/debian-lts-announce/2025/01/msg00006.html
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2332550Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-NANOID-2332193Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.