漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Incomplete fix for CVE-2025-40843: safe_strcpy is called with PATH_MAX into fullPath+2, writing 2 bytes past the buffer on every CodeChecker log invocation
Vulnerability Description
CVE-2025-40843 https://github.com/advisories/GHSA-5xf2-f6ch-6p8r was fixed by replacing unchecked strcpy() with a bounded safe_strcpy() helper.
At ldlogger-tool-gcc.c:129 the destination passed to that helper is fullPath + 2, but the size
passed down is the full PATH_MAX. safe_strcpy() is strncpy(), which NUL-pads the
destination out to the whole n, so this site writes 4096 bytes into the 4094 that remain — a
2-byte stack overflow on every invocation, independent of the input path's length.
This issue affects CodeChecker: through 6.28.2.
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:P/S:N/AU:Y/R:U/RE:L/U:Green
Vulnerability Type
跨界内存写
Vulnerability Title
Ericsson codechecker 缓冲区错误漏洞
Vulnerability Description
Ericsson CodeChecker是瑞典Ericsson公司开源的一款代码静态分析工具。 Ericsson codechecker 6.28.2及之前版本存在缓冲区错误漏洞,该漏洞源于在ldlogger-tool-gcc.c中调用safe_strcpy()时,目标缓冲区指针为fullPath+2但传入完整PATH_MAX大小,导致每次调用都会发生2字节栈溢出。
CVSS Information
N/A
Vulnerability Type
N/A