漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Global buffer over-read in mb_convert_encoding() with attacker-supplied encoding
Vulnerability Description
In PHP versions 8.4.* before 8.4.21 and 8.5.* before 8.5.6, when an encoding name containing an embedded NUL byte is passed to mb_convert_encoding() or related mbstring functions, the code incorrectly assumes that when strncasecmp() returns 0 it means the strings have the same length. This can lead to out-of-bounds read of global memory, potentially causing a crash or information disclosure or crash. Affected functions include mb_convert_encoding(), mb_detect_encoding(), mb_convert_variables(), and mb_detect_order(), as well as the mbstring.detect_order and mbstring.http_output INI settings.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:L/SI:N/SA:L/RE:M/U:Amber
Vulnerability Type
跨界内存读
Vulnerability Title
PHP 缓冲区错误漏洞
Vulnerability Description
PHP是PHP开源的一种在服务器端执行的脚本语言。 PHP 8.4.21之前版本和8.5.6之前版本存在缓冲区错误漏洞,该漏洞源于当包含嵌入NUL字节的编码名称传递给mb_convert_encoding()或相关mbstring函数时,代码错误地假设strncasecmp()返回0意味着字符串长度相同,可能导致全局内存越界读取,从而引发崩溃或信息泄露。以下版本受到影响:8.4.21之前版本和8.5.6之前版本。
CVSS Information
N/A
Vulnerability Type
N/A