漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
nanoid before 5.1.16 Infinite Loop via Negative Size in non-secure module
Vulnerability Description
nanoid (Nano ID) before 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.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Vulnerability Type
不可达退出条件的循环(无限循环)
Vulnerability Title
Andrey Sitnik Nano ID 资源管理错误漏洞
Vulnerability Description
Andrey Sitnik nanoid是Andrey Sitnik个人开发者开源的一个用于 JavaScript 的小型、安全、URL 友好、唯一的字符串 ID 生成器。 Andrey Sitnik Nano ID 5.1.16之前版本存在资源管理错误漏洞,该漏洞源于customAlphabet和nanoid函数存在无限循环,当函数被赋予一个负数大小时,循环计数器从负值递减且永远不会达到终止条件,导致无限循环并挂起调用线程,可能造成拒绝服务。
CVSS Information
N/A
Vulnerability Type
N/A