MEDIUM · 4.0

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.

Vulnerability 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 Score

4.0

MEDIUM

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
LOW
Integrity
NONE
Availability
NONE

Affected Products

VendorProductVersions
Nanoid ProjectNanoid>= 3.0.0, < 3.1.31

Related Weaknesses (CWE)

References

FAQ

What is CVE-2021-23566?

CVE-2021-23566 is a vulnerability with a CVSS score of 4.0 (MEDIUM). 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 been rated MEDIUM with a CVSS base score of 4.0/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2021-23566?

Check the references section above for vendor advisories and patch information. Affected products include: Nanoid Project Nanoid.