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
Heap-based Buffer Overflow in GNU coreutils
Vulnerability Description
GNU coreutils unexpand is vulnerable to a heap-based buffer overflow due to an integer overflow during buffer allocation when processing large tab stop (-t) values. The multiplication used to calculate the allocation size can wrap around, resulting in an undersized buffer.
When processing crafted input, subsequent writes exceed the allocated memory, leading to an out‑of‑bounds heap write.
When running GNU coreutils unexpand with attacker-provided large tab stop (-t) arguments, this behavior leads to a crash and potentially achieve a heap write primitive depending on memory layout.
This issue has been fixed in the commit b60a159fdc5bfcf9988d3a4cb6f53abe8ad5d35d
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Vulnerability Type
堆缓冲区溢出
Vulnerability Title
GNU coreutils 缓冲区错误漏洞
Vulnerability Description
GNU coreutils是美国GNU基金会开源的一套基础系统命令行工具集。 GNU coreutils 9.11及之前版本存在缓冲区错误漏洞,该漏洞源于在处理大型制表位(-t)值时缓冲分配过程中存在整数溢出,导致缓冲区大小不足,在处理特制输入时后续写入操作超出分配的内存,可能触发崩溃并根据内存布局实现堆写入原语。
CVSS Information
N/A
Vulnerability Type
N/A