Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
file-type affected by infinite loop in ASF parser on malformed input with zero-size sub-header
Vulnerability Description
file-type detects the file type of a file, stream, or data. Prior to 21.3.1, a denial of service vulnerability exists in the ASF (WMV/WMA) file type detection parser. When parsing a crafted input where an ASF sub-header has a size field of zero, the parser enters an infinite loop. The payload value becomes negative (-24), causing tokenizer.ignore(payload) to move the read position backwards, so the same sub-header is read repeatedly forever. Any application that uses file-type to detect the type of untrusted/attacker-controlled input is affected. An attacker can stall the Node.js event loop with a 55-byte payload. Fixed in version 21.3.1.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Vulnerability Type
不可达退出条件的循环(无限循环)
Vulnerability Title
file type 安全漏洞
Vulnerability Description
file type是Sindre Sorhus个人开发者的一个文件类型检测工具。 file type 21.3.1之前版本存在安全漏洞,该漏洞源于ASF文件类型检测解析器在处理特制输入时可能进入无限循环,可能导致拒绝服务。
CVSS Information
N/A
Vulnerability Type
N/A