CVE-2021-23566
Nanoid Information Exposure
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.
INFO
Published Date :
Jan. 14, 2022, 8:15 p.m.
Last Modified :
Nov. 21, 2024, 5:51 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2021-23566 has a 2 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-23566
.
URL | 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 |
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 |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
JavaScript Vue TypeScript SCSS CSS
Manage E3/DC power station based on RSCP
iobroker smarthome e3-dc power electricity photovoltaic
CSS JavaScript PowerShell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-23566
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-23566
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://gist.github.com/artalar/bc6d1eb9a3477d15d2772e876169a444 Added Reference https://github.com/ai/nanoid/commit/2b7bd9332bc49b6330c7ddb08e5c661833db2575 Added Reference https://github.com/ai/nanoid/pull/328 Added Reference https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2332550 Added Reference https://snyk.io/vuln/SNYK-JS-NANOID-2332193 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CWE Remap by [email protected]
Jul. 12, 2022
Action Type Old Value New Value Changed CWE CWE-200 CWE-704 -
Modified Analysis by [email protected]
Feb. 04, 2022
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:nanoid_project:nanoid:*:*:*:*:*:node.js:*:* versions up to (excluding) 3.1.31 OR *cpe:2.3:a:nanoid_project:nanoid:*:*:*:*:*:node.js:*:* versions from (including) 3.0.0 up to (excluding) 3.1.31 -
CVE Modified by [email protected]
Feb. 02, 2022
Action Type Old Value New Value Changed 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. 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. -
Initial Analysis by [email protected]
Jan. 21, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:P/I:N/A:N) Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://gist.github.com/artalar/bc6d1eb9a3477d15d2772e876169a444 No Types Assigned https://gist.github.com/artalar/bc6d1eb9a3477d15d2772e876169a444 Exploit, Third Party Advisory Changed Reference Type https://github.com/ai/nanoid/commit/2b7bd9332bc49b6330c7ddb08e5c661833db2575 No Types Assigned https://github.com/ai/nanoid/commit/2b7bd9332bc49b6330c7ddb08e5c661833db2575 Patch, Third Party Advisory Changed Reference Type https://github.com/ai/nanoid/pull/328 No Types Assigned https://github.com/ai/nanoid/pull/328 Exploit, Issue Tracking, Patch, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2332550 No Types Assigned https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2332550 Exploit, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-JS-NANOID-2332193 No Types Assigned https://snyk.io/vuln/SNYK-JS-NANOID-2332193 Exploit, Third Party Advisory Added CWE NIST CWE-200 Added CPE Configuration OR *cpe:2.3:a:nanoid_project:nanoid:*:*:*:*:*:node.js:*:* versions up to (excluding) 3.1.31
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-23566
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-23566
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.03 }} -0.07%
score
0.05822
percentile