Skip to main content
VulnerabilityPublished Updated

CVE-2024-55565: nanoid · Infinite Loop

Source CVE Database V5

0

Not known to be exploited · CVSS 4.3 Medium · fixed in 5.0.9 : update affected systems when convenient.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.0.9
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Dec 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

The most effective mitigation is to upgrade all instances of the Nano ID library to version 5.0.9 or 3.3.8, where the vulnerability is fixed. Organizations should audit their software dependencies using automated tools (e.g., npm audit, Snyk, or similar) to identify vulnerable versions of Nano ID. For projects that cannot immediately upgrade, implement input validation to ensure only integer values are passed to Nano ID functions, mitigating the mishandling of non-integer inputs. Additionally, review application logic that relies on Nano ID-generated identifiers to detect anomalies or collisions that may indicate exploitation attempts. Incorporate runtime monitoring and logging around identifier generation and usage to detect unusual patterns. Educate development teams about secure dependency management and the risks of using outdated libraries. Finally, maintain an up-to-date inventory of open-source components and subscribe to vulnerability feeds to respond promptly to new advisories.

Description

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

References

Community reviews

Loading reviews…