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.
References
Link Resource
https://gist.github.com/artalar/bc6d1eb9a3477d15d2772e876169a444 Exploit Third Party Advisory
https://github.com/ai/nanoid/commit/2b7bd9332bc49b6330c7ddb08e5c661833db2575 Patch Third Party Advisory
https://github.com/ai/nanoid/pull/328 Exploit Issue Tracking Patch Third Party Advisory
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2332550 Exploit Third Party Advisory
https://snyk.io/vuln/SNYK-JS-NANOID-2332193 Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:nanoid_project:nanoid:*:*:*:*:*:node.js:*:*

History

12 Jul 2022, 17:42

Type Values Removed Values Added
CWE CWE-200 CWE-704

02 Feb 2022, 19:15

Type Values Removed Values Added
Summary The package nanoid before 3.1.31 are vulnerable to Information Exposure via the valueOf() function which allows to reproduce the last id generated. 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.

21 Jan 2022, 15:42

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 2.1
v3 : 5.5
CPE cpe:2.3:a:nanoid_project:nanoid:*:*:*:*:*:node.js:*:*
CWE CWE-200
References (CONFIRM) https://gist.github.com/artalar/bc6d1eb9a3477d15d2772e876169a444 - (CONFIRM) https://gist.github.com/artalar/bc6d1eb9a3477d15d2772e876169a444 - Exploit, Third Party Advisory
References (CONFIRM) https://github.com/ai/nanoid/pull/328 - (CONFIRM) https://github.com/ai/nanoid/pull/328 - Exploit, Issue Tracking, Patch, Third Party Advisory
References (CONFIRM) https://snyk.io/vuln/SNYK-JS-NANOID-2332193 - (CONFIRM) https://snyk.io/vuln/SNYK-JS-NANOID-2332193 - Exploit, Third Party Advisory
References (CONFIRM) https://github.com/ai/nanoid/commit/2b7bd9332bc49b6330c7ddb08e5c661833db2575 - (CONFIRM) https://github.com/ai/nanoid/commit/2b7bd9332bc49b6330c7ddb08e5c661833db2575 - Patch, Third Party Advisory
References (CONFIRM) https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2332550 - (CONFIRM) https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2332550 - Exploit, Third Party Advisory

14 Jan 2022, 21:37

Type Values Removed Values Added
Summary The package nanoid before 3.1.31 are vulnerable to Information Exposure via the valueOf() function which allows to reproduce the last id generated. The package nanoid before 3.1.31 are vulnerable to Information Exposure via the valueOf() function which allows to reproduce the last id generated.

14 Jan 2022, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-01-14 20:15

Updated : 2024-02-04 22:08


NVD link : CVE-2021-23566

Mitre link : CVE-2021-23566

CVE.ORG link : CVE-2021-23566


JSON object : View

Products Affected

nanoid_project

  • nanoid
CWE
CWE-704

Incorrect Type Conversion or Cast