תיאור (מקור, אנגלית)
nanoid (Nano ID) before 3.3.16 and 5.1.16 contains an infinite loop in the customAlphabet and nanoid functions of its non-secure module (nanoid/non-secure). When these functions are given a negative size, the loop counter is decremented from a negative value and never reaches its termination condition, spinning indefinitely and hanging the calling thread. An application that passes an unvalidated, attacker-controlled negative size to these functions is exposed to a denial-of-service condition.
מוצרים מושפעים
nanoid_project: nanoid
קישורים4
- github.com/ai/nanoid/commit/6ccc67bbaba71d3d77a21d9b636f4171a2… Patch
- www.vulncheck.com/advisories/nanoid-before-infinite-loop-via-n… PatchRelease NotesThird Party Advisory
- github.com/ai/nanoid/releases/tag/3.3.16 ProductRelease Notes
- github.com/ai/nanoid/releases/tag/5.1.16 ProductRelease Notes
מדדים
- CVSS 3.1
-
7.5
HIGH
מקור הציון: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 4.0
-
8.2
HIGH
מקור הציון: CNA
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — סבירות ניצול
- 0% אחוזון 26 · נכון ל-13 בנובמבר 2026
- CWE
- CWE-835
האם אפשר לנצל את הפגיעות הזו אצלכם?
עדכון אבטחה סוגר את הפרצה הידועה. בדיקת חדירות מראה לאן תוקף עדיין יכול להגיע — עם הוכחה.