{"id":"CVE-2024-55565","published":"2024-12-09T00:00:00Z","modified":"2025-11-03T22:32:41Z","title":"nanoid (aka Nano ID) before 5.0.9 mishandles non-integer values","vendor":null,"product":null,"tier":"tail","description":{"text":"nanoid (aka Nano ID) before 5.0.9 mishandles non-integer values. 3.3.8 is also a fixed version.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00665,"percentile":0.52713,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/ai/nanoid/pull/510","tags":[]},{"url":"https://github.com/ai/nanoid/releases/tag/5.0.9","tags":[]},{"url":"https://github.com/ai/nanoid/compare/3.3.7...3.3.8","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00006.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00025.html","tags":[]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":10.54},{"name":"CVSS severity","points":3.01}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-12T17:19:45.458962Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"nanoid","vulnerableRanges":[">=4.0.0, <5.0.9","<3.3.8"],"patched":["5.0.9","3.3.8"],"from":["GHSA-mwcw-c2x4-8c55"],"provenance":"source"}],"summary":{"text":"The nanoid package (also known as Nano ID), before version 5.0.9, mishandles non-integer values, and the flaw is a loop with an unreachable exit condition, which is an infinite loop. An attacker with low privileges on the network, and no user interaction, could exploit this by supplying crafted non-integer input, causing the affected code to hang and degrading availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:58Z"},"euvd":{"id":"EUVD-2024-3491","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-23566","published":"2022-01-14","fixed":"3.1.31","kev":false},{"cve":"CVE-2024-55565","published":"2024-12-09","fixed":"5.0.9","kev":false},{"cve":"CVE-2026-67213","published":"2026-07-29","fixed":"5.1.6","kev":false,"link":{"from":"CVE-2024-55565","to":"CVE-2026-67213","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:nanoid","fromFixed":"5.0.9","toFixed":"5.1.6","daysApart":597}]}},{"cve":"CVE-2026-73086","published":"2026-08-11","fixed":"5.1.11","kev":false,"link":{"from":"CVE-2024-55565","to":"CVE-2026-73086","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:nanoid","fromFixed":"3.3.8","toFixed":"3.3.12","daysApart":610}]}},{"cve":"CVE-2026-67214","published":"2026-07-29","fixed":"5.1.16","kev":false}],"package":"npm:nanoid"}}