cve.bz

CVE-2024-55565 Infinite Loop

4.3 mediumEPSS 0.7%Fix available

Medium (4.3). EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in nanoid 3.3.8, 5.0.9.

On this page
nanoid (aka Nano ID) before 5.0.9 mishandles non-integer values. 3.3.8 is also a fixed version.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 53rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-12-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-55565 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-55565?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-55565?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-55565 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mwcw-c2x4-8c55npmnanoid>=4.0.0 <5.0.95.0.9
GHSA-mwcw-c2x4-8c55npmnanoid<3.3.83.3.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11node-mocha8.2.1+ds1+~cs29.4.27-3+deb11u1DLA-4013-1
Debian11node-postcss8.2.1+~cs5.3.23-8+deb11u1DLA-4003-1
Debian12node-postcss8.4.20+~cs8.0.23-1+deb12u1DEBIAN-CVE-2024-55565
Debian12, 13, 14node-mocha9.1.4+ds1+~cs28.2.8-1DEBIAN-CVE-2024-55565
Debian13, 14node-postcss8.4.49+~cs9.2.32-1DEBIAN-CVE-2024-55565
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTSnode-postcssno fix listedUBUNTU-CVE-2024-55565
Red Hatansible_automation_platform:2.5::el8automation-controller-venv-tower0:4.6.6-1.el8apRHSA-2025:0340
Red Hatansible_automation_platform:2.5::el8automation-gateway-server0:2.5.20250115-1.el8apRHSA-2025:0340
Red Hatansible_automation_platform:2.5::el8python3.11-aiohttp, python3.11-aiohttp-debuginfo, python3.11-aiohttp-debugsource0:3.10.11-1.el8apRHSA-2025:0340
Red Hatansible_automation_platform:2.5::el9automation-controller-venv-tower0:4.6.6-1.el9apRHSA-2025:0340
Red Hatansible_automation_platform:2.5::el9automation-gateway-server0:2.5.20250115-1.el9apRHSA-2025:0340
Red Hatansible_automation_platform:2.5::el9python3.11-aiohttp, python3.11-aiohttp-debuginfo, python3.11-aiohttp-debugsource0:3.10.11-1.el9apRHSA-2025:0340
Red Hatceph_storage:7.1::el8ceph, librbd1, librgw2 and 51 more2:18.2.1-381.el8cpRHSA-2026:2769
Red Hatceph_storage:7.1::el9ceph, cephadm, librbd1 and 53 more2:18.2.1-381.el9cpRHSA-2026:2769
openSUSETumbleweedvelociraptor0.7.0.4.git142.862ef23-1.1openSUSE-SU-2025:14663-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Moderate impact: CVE-2024-55565 affects Red Hat products and components that ship nanoid in the current affected mappings. When nanoid is called with a fractional size, browser and non-secure implementations can enter an infinite loop; in Node.js, calls can return zeroes until the pool is refilled, and an initial fractional call can fail buffer allocation. These behaviors can impair system availability. Red Hat rates the issue Moderate (CVSS 6.5, CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). The current scope spans Red Hat middleware, Ansible, OpenShift, cloud services, Enterprise Linux, and Ceph mappings, as well as Community Projects: 196 of 198 mappings are marked AFFECTED and two are NEW/OOSS. Delegated handling includes affected, WONTFIX, OOSS, DEFER, and NOTAFFECTED outcomes. For delegated mappings marked AFFECTED, a fix is being pursued. For DEFER mappings, the record does not state why remediation is deferred; the residual risk is continued availability or functional impact if fractional values reach nanoid. Mappings delegated as NOTAFFECTED are product-specific determinations, but the record provides no technical rationale for them. The Red Hat assessment is higher than the external CISA score (6.5 versus 4.3), reflecting different assumptions about required privileges and affected security properties.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Discovery 1 for RHEL 9discovery/discovery-server-rhel9:1.12.0-1Fixed 2025-02-10RHSA-2025:1249
Discovery 1 for RHEL 9discovery/discovery-ui-rhel9:1.12.0-1Fixed 2025-02-10RHSA-2025:1249
multicluster engine for Kubernetes 2.6 for RHEL 8multicluster-engine/assisted-image-service-rhel8:v2.6.5-2Fixed 2025-01-28RHSA-2025:0778
multicluster engine for Kubernetes 2.6 for RHEL 8multicluster-engine/assisted-installer-agent-rhel8:v2.6.5-2Fixed 2025-01-28RHSA-2025:0778
multicluster engine for Kubernetes 2.6 for RHEL 8multicluster-engine/assisted-installer-controller-rhel8:v2.6.5-2Fixed 2025-01-28RHSA-2025:0778
multicluster engine for Kubernetes 2.6 for RHEL 8multicluster-engine/assisted-installer-rhel8:v2.6.5-2Fixed 2025-01-28RHSA-2025:0778
multicluster engine for Kubernetes 2.6 for RHEL 8multicluster-engine/assisted-service-8-rhel8:v2.6.5-2Fixed 2025-01-28RHSA-2025:0778
multicluster engine for Kubernetes 2.6 for RHEL 9multicluster-engine/addon-manager-rhel9:v2.6.5-3Fixed 2025-01-28RHSA-2025:0778
multicluster engine for Kubernetes 2.6 for RHEL 9multicluster-engine/assisted-service-9-rhel9:v2.6.5-2Fixed 2025-01-28RHSA-2025:0778
multicluster engine for Kubernetes 2.6 for RHEL 9multicluster-engine/backplane-rhel9-operator:v2.6.5-2Fixed 2025-01-28RHSA-2025:0778
Cryostat 3io.cryostat-cryostat3Fix deferred
Migration Toolkit for Applications 7mta/mta-cli-rhel9Fix deferred
Migration Toolkit for Applications 7mta/mta-ui-rhel9Fix deferred
Migration Toolkit for Containersrhmtc/openshift-migration-ui-rhel8Fix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-console-plugin-rhel9Fix deferred
Node HealthCheck Operatorworkload-availability/node-remediation-console-rhel8Will not fix
OpenShift Lightspeedopenshift-lightspeed-tech-preview/lightspeed-console-plugin-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel8Will not fix
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-api-rhel8Will not fix
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-db-migration-rhel8Will not fix
316 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-55565.

References

Check your stackJSON