漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Swtpm: swtpm: out-of-bounds read in swtpm_nvram_checkheader due to sizeof(pointer) vs sizeof(struct) mismatch
Vulnerability Description
An out-of-bounds read vulnerability was found in swtpm's SWTPM_NVRAM_CheckHeader() function. The entry guard checks the buffer length against sizeof(bh), where bh is a pointer, instead of sizeof(*bh), the actual struct size. This allows an undersized buffer to pass validation, causing a 2-byte heap overread on 64-bit systems (6 bytes on 32-bit) when accessing the totlen field. This may cause daemon termination on some platforms and leaks heap data to the log.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
Vulnerability Type
跨界内存读
Vulnerability Title
swtpm project swtpm 缓冲区错误漏洞
Vulnerability Description
swtpm project swtpm是swtpm project团队开源的一款可信平台模块模拟软件。 swtpm project swtpm存在缓冲区错误漏洞,该漏洞源于swtpm的SWTPM_NVRAM_CheckHeader函数中入口检查使用sizeof(bh)而非sizeof(*bh),导致缓冲区验证不当,可能造成堆越界读取,导致守护进程终止和堆数据泄露。
CVSS Information
N/A
Vulnerability Type
N/A