漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
N/A
Vulnerability Description
adm-zip before 0.5.18 is vulnerable to denial of service via a crafted ZIP file with a manipulated uncompressed size header field. In zipEntry.js line 103, Buffer.alloc(_centralHeader.size) allocates memory based on the declared uncompressed size from the ZIP central directory header without validating it against the actual compressed data size or imposing any upper bound. The size value is read directly from the binary header at entryHeader.js line 266 with no bounds check. An attacker can craft a ~120-byte ZIP file that declares ~4GB uncompressed size, causing a memory allocation amplification ratio of over 33 million to 1. The allocation occurs before CRC validation, so the malicious payload cannot be rejected early. All extraction and read methods are affected: readFile(), readAsText(), extractEntryTo(), extractAllTo(), extractAllToAsync(), test(), and entry.getData(). Any application accepting untrusted ZIP files via adm-zip is vulnerable to immediate process crash.
CVSS Information
N/A
Vulnerability Type
N/A
Vulnerability Title
The Brain ADM-ZIP 资源管理错误漏洞
Vulnerability Description
The Brain ADM-ZIP是The Brain个人开发者的一款数据压缩与解压缩处理工具。 The Brain ADM-ZIP 0.5.18之前版本存在资源管理错误漏洞,该漏洞源于未验证ZIP中央目录头中声明的未压缩大小,导致内存分配放大,容易受到拒绝服务攻击。
CVSS Information
N/A
Vulnerability Type
N/A