CVE-2021-23566

CVSS V2 Low 2.1 CVSS V3 Medium 5.5
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.
Overview
  • CVE ID
  • CVE-2021-23566
  • Assigner
  • report@snyk.io
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2022-01-14T20:15:10
  • Last Modified Date
  • 2022-07-12T17:42:04
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:nanoid_project:nanoid:*:*:*:*:*:node.js:*:* 1 OR 3.0.0 3.1.31
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:L/AC:L/Au:N/C:P/I:N/A:N
  • Access Vector
  • LOCAL
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • NONE
  • Availability Impact
  • NONE
  • Base Score
  • 2.1
  • Severity
  • LOW
  • Exploitability Score
  • 3.9
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Attack Vector
  • LOCAL
  • Attack Compatibility
  • LOW
  • Privileges Required
  • LOW
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • NONE
  • Base Score
  • 5.5
  • Base Severity
  • MEDIUM
  • Exploitability Score
  • 1.8
  • Impact Score
  • 3.6
References
Reference URL Reference Tags
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
History
Created Old Value New Value Data Type Notes
2022-05-10 06:34:18 Added to TrackCVE
2022-12-06 06:39:03 2022-01-14T20:15Z 2022-01-14T20:15:10 CVE Published Date updated
2022-12-06 06:39:03 2022-07-12T17:42:04 CVE Modified Date updated
2022-12-06 06:39:03 Analyzed Vulnerability Status updated