CVE-2024-55565 json
Predictable results in nanoid generation when given non-integer values
published 2024-12-09 23 mo ago modified 2026-09-10 1 mo ago also GHSA-mwcw-c2x4-8c55 , EUVD-2024-3491
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
nanoid (aka Nano ID) before 5.0.9 mishandles non-integer values. 3.3.8 is also a fixed version.
Patch / fix
- npm nanoid 3.3.8, 5.0.9
- node-mocha Debian 14, Debian 13, Debian 12 9.1.4+ds1+~cs28.2.8-1
- node-postcss Debian 12 8.4.20+~cs8.0.23-1+deb12u1
- node-postcss Debian 14, Debian 13 8.4.49+~cs9.2.32-1
debian advisories DEBIAN-CVE-2024-55565
- ceph ceph storage 7.1 2:18.2.1-381.el8cp
- ceph ceph storage 7.1 2:18.2.1-381.el9cp
- cephadm ceph storage 7.1 2:18.2.1-381.el9cp
- librbd1 ceph storage 7.1 2:18.2.1-381.el8cp
- librbd1 ceph storage 7.1 2:18.2.1-381.el9cp
- librgw2 ceph storage 7.1 2:18.2.1-381.el8cp
- librgw2 ceph storage 7.1 2:18.2.1-381.el9cp
- rbd-nbd ceph storage 7.1 2:18.2.1-381.el8cp
red hat advisories RHSA-2026:2769RHSA-2025:0340
- velociraptor openSUSE Tumbleweed 0.7.0.4.git142.862ef23-1.1
opensuse advisories openSUSE-SU-2025:14663-1
- github.com/ai/nanoid#510 pull request
- github.com/ai/nanoid/releases/tag/5.0.9 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-55565 updated cvss 6.5
nanoid: nanoid mishandles non-integer values
-
Red Hat Cryostat 3 io.cryostat-cryostat3 io.cryostat-cryostat3 Red Hat Migration Toolkit for Applications 7 mta/mta-ui-rhel9, mta/mta-cli-rhel9 Red Hat Migration Toolkit for Containers rhmtc/openshift-migration-ui-rhel8 Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-console-plugin-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat Node HealthCheck Operator workload-availability/node-remediation-console-rhel8affected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Lightspeed lightspeed-console-plugin-rhel9affected: workaround, no fix available
-
Red Hat OpenShift Pipelines openshift-pipelines/pipelines-hub-ui-rhel8, openshift-pipelines/pipelines-hub-api-rhel8, openshift-pipelines/pipelines-console-plugin-rhel8, openshift-pipelines/pipelines-hub-db-migration-rhel8affected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Service Mesh 2 openshift-service-mesh/kiali-rhel9affected: workaround, no fix available
-
Red Hat 3scale API Management Platform 2 3scale-amp2/system-rhel7 Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8affected: workaround, no fix planned “Will not fix”
-
Red Hat Ansible Automation Platform 2 automation-controller, aap-cloud-ui-container, automation-eda-controller, ansible-automation-platform-25/lightspeed-rhel8affected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat build of Apicurio Registry 2 io.apicurio-apicurio-registry Red Hat build of OptaPlanner 8 org.optaweb.vehiclerouting-optaweb-vehicle-routing Red Hat Ceph Storage 6 pybind, grafana Red Hat Ceph Storage 8 pybind, grafana Red Hat Ceph Storage 9 pybind, grafanaaffected: workaround, no fix available
show 19 moreshow fewer
-
Red Hat Connectivity Link 1 rhcl-1/rhcl-console-plugin-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat Data Grid 8 org.infinispan-infinispan-consoleaffected: workaround, no fix planned “Will not fix”
-
Red Hat Fuse 7 io.syndesis-syndesis-parentaffected: workaround, no fix planned “Out of support scope”
-
Red Hat OpenShift AI (RHOAI) odh-dashboard-container, odh-model-registry-rhel8, odh-ml-pipelines-driver-rhel8, odh-notebook-controller-rhel8, odh-kf-notebook-controller-rhel8affected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 4 openshift4/ose-console, openshift4/ose-monitoring-plugin-rhel9affected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Data Science (RHODS) rhods/odh-dashboard-rhel8affected: workaround, no fix available “Fix deferred”
-
Red Hat OpenShift Dev Spaces devspaces/dashboard-rhel8 Red Hat OpenShift GitOps openshift-gitops-1/argocd-rhel8, openshift-gitops-1/argo-rollouts-rhel8, openshift-gitops-1/console-plugin-rhel8, openshift-gitops-argocd-rhel9-container Red Hat OpenShift Virtualization 4 container-native-virtualization/kubevirt-console-plugin, container-native-virtualization/kubevirt-console-plugin-rhel9affected: workaround, no fix available
-
Red Hat Satellite 6 nodejs-css-loaderaffected: workaround, no fix planned “Will not fix”
-
Red Hat streams for Apache Kafka com.github.streamshub-consoleaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Discovery 1 for RHEL 9 discovery/discovery-ui-rhel9 1.12.0-1, discovery/discovery-server-rhel9 1.12.0-1fixed: vendor fix RHSA-2025:1249
-
Red Hat multicluster engine for Kubernetes 2.6 for RHEL 8 multicluster-engine/assisted-installer-rhel8 v2.6.5-2, multicluster-engine/assisted-service-8-rhel8 v2.6.5-2, multicluster-engine/assisted-image-service-rhel8 v2.6.5-2, multicluster-engine/assisted-installer-agent-rhel8 v2.6.5-2, multicluster-engine/assisted-installer-controller-rhel8 v2.6.5-2 Red Hat multicluster engine for Kubernetes 2.6 for RHEL 9 multicluster-engine/hive-rhel9 v2.6.5-2, multicluster-engine/work-rhel9 v2.6.5-3, multicluster-engine/discovery-rhel9 v2.6.5-3, multicluster-engine/placement-rhel9 v2.6.5-3, multicluster-engine/cluster-api-rhel9 v2.6.5-1, multicluster-engine/console-mce-rhel9 v2.6.5-4, +24 morefixed: vendor fix RHSA-2025:0778
-
Red Hat multicluster engine for Kubernetes 2.7 for RHEL 8 multicluster-engine/assisted-service-8-rhel8 v2.7.3-7 Red Hat multicluster engine for Kubernetes 2.7 for RHEL 9 multicluster-engine/hive-rhel9 v2.7.3-4, multicluster-engine/work-rhel9 v2.7.3-7, multicluster-engine/discovery-rhel9 v2.7.3-7, multicluster-engine/placement-rhel9 v2.7.3-7, multicluster-engine/cluster-api-rhel9 v2.7.3-4, multicluster-engine/console-mce-rhel9 v2.7.3-9, +28 morefixed: vendor fix RHSA-2025:0723
-
Red Hat Quay v3 quay/quay-rhel8 v3.13.3-6, quay/clair-rhel8 v3.13.3-2, quay/quay-builder-rhel8 v3.13.3-3, quay/quay-operator-rhel8 v3.13.3-1, quay/quay-operator-bundle v3.13.3-7, quay/quay-bridge-operator-rhel8 v3.13.3-1, +4 morefixed: vendor fix RHBA-2025:0301
-
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9 rhacm2/thanos-rhel9 v2.11.5-3, rhacm2/console-rhel9 v2.11.5-3, rhacm2/memcached-rhel9 v2.11.5-1, rhacm2/prometheus-rhel9 v2.11.5-3, rhacm2/acm-grafana-rhel9 v2.11.5-2, rhacm2/acm-operator-bundle v2.11.5-6, +37 morefixed: vendor fix RHSA-2025:0785
-
Red Hat Advanced Cluster Management for Kubernetes 2.12 for RHEL 9 rhacm2/thanos-rhel9 v2.12.2-5, rhacm2/acm-cli-rhel9 v2.12.2-7, rhacm2/console-rhel9 v2.12.2-9, rhacm2/memcached-rhel9 v2.12.2-3, rhacm2/prometheus-rhel9 v2.12.2-6, rhacm2/acm-grafana-rhel9 v2.12.2-4, +40 morefixed: vendor fix RHSA-2025:0851
-
Red Hat Ansible Automation Platform 2.5 for RHEL 8 automation-gateway-server 2.5.20250115-1.el8ap Red Hat Ansible Automation Platform 2.5 for RHEL 9 automation-gateway-server 2.5.20250115-1.el9apfixed: vendor fix RHSA-2025:0340
-
Red Hat Ceph Storage 7.1 rhceph/rhceph-7-rhel9 1781863705fixed: vendor fix RHSA-2026:33154
-
Red Hat Ceph Storage 7.1 Tools ceph 18.2.1-381.el8cp, ceph 18.2.1-381.el9cp, cephadm 18.2.1-381.el9cp, librbd1 18.2.1-381.el8cp, librbd1 18.2.1-381.el9cp, librgw2 18.2.1-381.el8cp, +37 morefixed: vendor fix RHSA-2026:2769
-
Red Hat Ceph Storage 8 rhceph 1770630607fixed: vendor fix RHSA-2026:2737
15 more fixed, 30 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 22 mo ago
Exploit prediction
0.66% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | nanoid | >=4.0.0, <5.0.9 <3.3.8 |
5.0.9 3.3.8 |
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
References
-
github.com
/ai/nanoid/pull/510
web
-
github.com
/ai/nanoid/releases/tag/5.0.9
web
-
github.com
/ai/nanoid/compare/3.3.7...3.3.8
web
-
lists.debian.org
/debian-lts-announce/2025/01/msg00006.html
web
-
lists.debian.org
/debian-lts-announce/2024/12/msg00025.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-55565
advisory
-
github.com
/ai/nanoid
package
Sources
- CVE List CVE-2024-55565
- GitHub Advisory GHSA-mwcw-c2x4-8c55
- NVD CVE-2024-55565
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.