漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Heap-based Buffer Overflow in GNU diffutils
Vulnerability Description
diff3 tool from GNU diffutils is vulnerable to a heap‑based buffer overflow due to multiple signed integer overflows in line‑mapping calculations. Incorrect arithmetic in mapping line ranges can result in corrupted values being used for memory allocation and loop bounds. When processing crafted diff output, these overflows may cause the application to allocate insufficient memory and subsequently perform out‑of‑bounds writes during internal processing. An attacker who can control the output of the diff program used by diff3 (e.g. via --diff-program pointing to a malicious script) can trigger out-of-bounds writes, resulting in a crash and potentially remote code execution depending on the environment. This issue has been fixed in commit 9ff04d5b84743e331e80b589335a52c5480d1815 NOTE: The project maintainers claim that this is not a security issue. They state that the worst outcome this issue can cause is a crash of diff and that it cannot be used to escalate privileges.
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:L/SI:L/SA:L
Vulnerability Type
整数溢出或超界折返
Vulnerability Title
GNU diffutils 数字错误漏洞
Vulnerability Description
GNU diffutils是美国GNU基金会开源的一套用于比较和合并文本文件的工具集。 GNU diffutils 3.12及之前版本存在数字错误漏洞,该漏洞源于行映射计算中存在多个有符号整数溢出,导致堆缓冲区溢出,可能造成攻击者通过控制diff程序输出触发越界写入,导致崩溃或远程代码执行。
CVSS Information
N/A
Vulnerability Type
N/A