VDB
GHSA-mwcw-c2x4-8c55
GHSA-mwcw-c2x4-8c55
PUBLISHED
CVSS 4.300000190734863 MEDIUM
Predictable results in nanoid generation when given non-integer values
Record from GitHub Advisory Database · Published December 9, 2024
nanoid is fixed in 5.0.9 and 3.3.8 (npm)
Predictable results in nanoid generation when given non-integer values
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 | 5.0.9, 3.3.8 |
| vitess-20.0 | Wolfi | 20.0.4-r3 |
| vitess-19.0 | Chainguard | 19.0.8-r2 |
| vitess-20.0 | Chainguard | 20.0.4-r3 |
| vitess-18.0 | Chainguard | 18.0.8-r2 |
| kibana-8 | Chainguard | 8.17.0-r0 |
| arangodb-3.11 | Chainguard | 3.11.14.4-r18 |
| jitsucom-jitsu | Wolfi | 2.8.5-r0 |
| kubeflow-katib | Wolfi | 0.19.0-r40, 0.19.0-r31 |
| arangodb-3.12 | Chainguard | 3.12.9.4-r21 |
| vitess-18 | Chainguard | 18.0.8-r16 |
| vitess-19 | Chainguard | 19.0.10-r11 |
2 more packages have a fixed version. See every fix in Lookup.
Risk scores
CVSS 3.1
4.300000190734863
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| wolfi | vitess-20.0 | 0 |
| chainguard | vitess-19.0 | 0 |
| chainguard | vitess-20.0 | 0 |
| npm | nanoid | 0, 4.0.0 |
| chainguard | vitess-18.0 | 0 |
| chainguard | kibana-8 | 0 |
| chainguard | arangodb-3.11 | 0 |
| wolfi | jitsucom-jitsu | 0 |
| wolfi | kubeflow-katib | 0, 0 |
| chainguard | arangodb-3.12 | 0 |
| chainguard | vitess-18 | 0 |
| chainguard | vitess-19 | 0 |
| chainguard | jitsucom-jitsu | 0 |
| chainguard | kubeflow-katib | 0 |
Timeline
- Dec 9, 2024 CVE Published
- Apr 30, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-mwcw-c2x4-8c55
vulnetix vdb fixes GHSA-mwcw-c2x4-8c55
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-mwcw-c2x4-8c55/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-55565 advisory
- https://lists.debian.org/debian-lts-announce/2025/01/msg00006.html url
- https://github.com/ai/nanoid/pull/510 url
- https://github.com/ai/nanoid package
- https://github.com/ai/nanoid/compare/3.3.7...3.3.8 url
- https://lists.debian.org/debian-lts-announce/2024/12/msg00025.html url
- https://github.com/ai/nanoid/releases/tag/5.0.9 url