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
Out‑of‑bounds Read in GNU coreutils
Vulnerability Description
GNU coreutils uniq is vulnerable to an out‑of‑bounds read due to incorrect handling of multibyte input when the -w (--check-chars) option is used. The find_field() function miscalculates the byte length of characters by repeatedly processing a fixed pointer instead of advancing through the input, resulting in an inflated length value.
This incorrect length is later used in a memcmp operation, causing reads beyond the allocated buffer when processing crafted multibyte input.
When running GNU coreutils uniq with attacker-provided arguments, this behavior leads to a crash and potential adjacent heap memory exposure.
This issue has been fixed in the commit d64e35a8a4c0e4608321433e0d84d917e4e36371.
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
Vulnerability Type
跨界内存读
Vulnerability Title
GNU coreutils 缓冲区错误漏洞
Vulnerability Description
GNU coreutils是美国GNU基金会开源的一套基础系统命令行工具集。 GNU coreutils 9.11及之前的9.5.x版本存在缓冲区错误漏洞,该漏洞源于uniq模块在处理-w(–check-chars)选项时对多字节输入处理不当,find_field()函数通过重复处理固定指针而不是推进输入来错误计算字符的字节长度,导致长度值膨胀,此错误长度随后在memcmp操作中使用,导致在处理特制多字节输入时读取超出分配的缓冲区,造成崩溃并可能暴露相邻堆内存。
CVSS Information
N/A
Vulnerability Type
N/A