Vulnerability CVE-2021-23566


Published: 2022-01-14

Description:
The package nanoid before 3.1.31 are vulnerable to Information Exposure via the valueOf() function which allows to reproduce the last id generated.

Type:

CWE-200

(Information Exposure)

CVSS2 => (AV:L/AC:L/Au:N/C:P/I:N/A:N)

CVSS Base Score
Impact Subscore
Exploitability Subscore
2.1/10
2.9/10
3.9/10
Exploit range
Attack complexity
Authentication
Local
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
None
None
Affected software
Nanoid project -> Nanoid 

 References:
https://github.com/ai/nanoid/pull/328
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2332550
https://gist.github.com/artalar/bc6d1eb9a3477d15d2772e876169a444
https://snyk.io/vuln/SNYK-JS-NANOID-2332193
https://github.com/ai/nanoid/commit/2b7bd9332bc49b6330c7ddb08e5c661833db2575

Copyright 2024, cxsecurity.com

 

Back to Top