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.

PackageEcosystemFixed in
nanoidnpm5.0.9, 3.3.8
vitess-20.0Wolfi20.0.4-r3
vitess-19.0Chainguard19.0.8-r2
vitess-20.0Chainguard20.0.4-r3
vitess-18.0Chainguard18.0.8-r2
kibana-8Chainguard8.17.0-r0
arangodb-3.11Chainguard3.11.14.4-r18
jitsucom-jitsuWolfi2.8.5-r0
kubeflow-katibWolfi0.19.0-r40, 0.19.0-r31
arangodb-3.12Chainguard3.12.9.4-r21
vitess-18Chainguard18.0.8-r16
vitess-19Chainguard19.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

VendorProductVersions
wolfivitess-20.00
chainguardvitess-19.00
chainguardvitess-20.00
npmnanoid0, 4.0.0
chainguardvitess-18.00
chainguardkibana-80
chainguardarangodb-3.110
wolfijitsucom-jitsu0
wolfikubeflow-katib0, 0
chainguardarangodb-3.120
chainguardvitess-180
chainguardvitess-190
chainguardjitsucom-jitsu0
chainguardkubeflow-katib0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›