VDB
GHSA-qrpm-p2h7-hrv2
GHSA-qrpm-p2h7-hrv2
PUBLISHED
CVSS 5.5 MEDIUM
Exposure of Sensitive Information to an Unauthorized Actor in nanoid
Record from GitHub Advisory Database · Published January 21, 2022
nanoid is fixed in 3.1.31 (npm)
Exposure of Sensitive Information to an Unauthorized Actor in nanoid
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| nanoid | npm | 3.1.31 |
Risk scores
CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| npm | nanoid | 3.0.0 |
| npm | nanoid |
Timeline
- Jan 21, 2022 CVE Published
- Apr 29, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-qrpm-p2h7-hrv2
vulnetix vdb fixes GHSA-qrpm-p2h7-hrv2
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-qrpm-p2h7-hrv2/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/ai/nanoid/pull/328 fix
- https://github.com/ai/nanoid package
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2332550 url
- https://snyk.io/vuln/SNYK-JS-NANOID-2332193 url
- https://lists.debian.org/debian-lts-announce/2025/01/msg00006.html advisory
- https://nvd.nist.gov/vuln/detail/CVE-2021-23566 advisory
- https://github.com/ai/nanoid/commit/2b7bd9332bc49b6330c7ddb08e5c661833db2575 fix
- https://gist.github.com/artalar/bc6d1eb9a3477d15d2772e876169a444 exploit
- https://lists.debian.org/debian-lts-announce/2024/12/msg00025.html advisory