CVE-2021-23566
lowpriority · track · 22EPSS 0.004 · 38 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 2.1–5.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (11)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-0235Red Hat Advanced Cluster Management: Mehrere Schwachstellen ermöglichen PrivilegieneskalationDeutsch2022-03-03csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat Advanced Cluster Management ausnutzen, um seine Privilegien zu erhöhen.
- GHSA-qrpm-p2h7-hrv2Exposure of Sensitive Information to an Unauthorized Actor in nanoid2022-01-21ghsa · osvUS
The package nanoid from 3.0.0, before 3.1.31, are vulnerable to Information Exposure via the valueOf() function which allows to reproduce the last id generated.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (27)
External citations — patches, advisories, analysis.
- https://gist.github.com/artalar/bc6d1eb9a3477d15d2772e876169a444cnnvd
- https://github.com/ai/nanoid/commit/2b7bd9332bc49b6330c7ddb08e5c661833db2575cnnvd
- https://github.com/ai/nanoid/pull/328cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-23566cnnvd
- https://packetstormsecurity.com/files/166204/Red-Hat-Security-Advisory-2022-0595-02.htmlcnnvd
- https://packetstormsecurity.com/files/166516/Red-Hat-Security-Advisory-2022-1083-01.htmlcnnvd
- https://packetstormsecurity.com/files/166812/Red-Hat-Security-Advisory-2022-1476-01.htmlcnnvd
- https://packetstormsecurity.com/files/168150/Red-Hat-Security-Advisory-2022-6156-01.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan