Vulnerability in Nanoid_project Nanoid

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.

EPSS: 0.004 (36.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.0 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-23566?
CVE-2021-23566 is a medium-severity vulnerability in Nanoid_project Nanoid, classified under Incorrect Type Conversion or Cast. CVSS score: 4.0/10. Published 2022-01-14.
How severe is CVE-2021-23566?
Medium severity. CVSS v3 base score is 4.0 out of 10.
Is CVE-2021-23566 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.