漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Uncontrolled Memory Allocation in GNU cpio
Vulnerability Description
GNU cpio is vulnerable to an uncontrolled memory allocation in the make_path function at src/makepath.c. The function uses alloca to allocate stack memory based on the length of argpath, which is derived from an archive-controlled pathname during extraction. A malicious cpio archive containing a sufficiently long nested pathname causes an unbounded stack allocation, resulting in a stack overflow and crash of the cpio process. An attacker who can supply a crafted cpio archive to a victim who extracts it can cause a denial of service. This issue has been fixed in commit 3cd514031371d8aeeaf2048aa10103e02831aaa9
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Vulnerability Type
未经控制的内存分配
Vulnerability Title
GNU cpio 资源管理错误漏洞
Vulnerability Description
GNU cpio是美国GNU基金会开源的一款文件归档与提取工具。 GNU cpio 2.15及之前版本存在资源管理错误漏洞,该漏洞源于src/makepath.c文件的make_path函数中不受控制的内存分配,使用alloca基于argpath长度分配栈内存,恶意cpio存档中包含超长嵌套路径名可导致未绑定的栈分配,造成栈溢出和崩溃,从而导致拒绝服务。
CVSS Information
N/A
Vulnerability Type
N/A