漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
rust-openssl: Incorrect bounds assertion in aes key wrap
Vulnerability Description
rust-openssl provides OpenSSL bindings for the Rust programming language. From to before 0.10.78, aes::unwrap_key() contains an incorrect assertion: it checks that out.len() + 8 <= in_.len(), but this condition is reversed. The intended invariant is out.len() >= in_.len() - 8, ensuring the output buffer is large enough. Because of the inverted check, the function only accepts buffers at or below the minimum required size and rejects larger ones. If a smaller buffer is provided the function will write past the end of out by in_.len() - 8 - out.len() bytes, causing an out-of-bounds write from a safe public function. This vulnerability is fixed in 0.10.78.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
Vulnerability Type
跨界内存写
Vulnerability Title
rust-openssl 缓冲区错误漏洞
Vulnerability Description
rust-openssl是rust-openssl开源的一个用于与 OpenSSL 库进行交互的库。 rust-openssl 0.10.78之前版本存在缓冲区错误漏洞,该漏洞源于aes::unwrap_key()包含一个错误的断言,检查out.len() + 8 <= in_.len()但此条件相反,导致函数仅接受等于或低于最小所需大小的缓冲区,提供更小缓冲区时函数会写入超出out末尾的数据,导致越界写入。
CVSS Information
N/A
Vulnerability Type
N/A