漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
smol-toml: Denial of Service via malformed TOML documents
Vulnerability Description
smol-toml is a small, fast, and correct TOML parser and serializer. Prior to 1.7.1, parse() can enter an infinite loop when a value inside an array or inline table is followed by a comment with no trailing newline. In src/util.ts, skipUntil() calls indexOfNewline(), receives -1 at the end of input, and resets the cursor to the beginning of the string instead of leaving the structure scan. The parser then hangs indefinitely and can consume a service's processing capacity when an application parses attacker-controlled TOML. This issue is fixed in version 1.7.1.
CVSS Information
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
Vulnerability Type
循环条件输入未经检查
Vulnerability Title
Squirrel Chat smol-toml 输入验证错误漏洞
Vulnerability Description
Squirrel Chat smol-toml是Squirrel Chat组织的一个轻量级的TOML解析库。 Squirrel Chat smol-toml 1.7.1之前版本存在安全漏洞,该漏洞源于解析数组或内联表时未正确处理无换行注释,skipUntil()函数在输入末尾将光标重置到字符串开头,导致解析器无限循环。当应用程序解析攻击者控制的TOML时,可能消耗服务处理能力。
CVSS Information
N/A
Vulnerability Type
N/A