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://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://gist.github.com/artalar/bc6d1eb9a3477d15d2772e876169a444 Exploit Third Party Advisory
https://snyk.io/vuln/SNYK-JS-NANOID-2332193 Exploit Third Party Advisory
https://github.com/ai/nanoid/commit/2b7bd9332bc49b6330c7ddb08e5c661833db2575 Patch Third Party Advisory
Advertisement

NeevaHost hosting service

Configurations

Configuration 1 (hide)

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

Information

Published : 2022-01-14 12:15

Updated : 2022-07-12 10:42


NVD link : CVE-2021-23566

Mitre link : CVE-2021-23566


JSON object : View

CWE
CWE-704

Incorrect Type Conversion or Cast

Advertisement

dedicated server usa

Products Affected

nanoid_project

  • nanoid