漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
rust-openssl: undefined behavior in X509Ref::ocsp_responders for certificates with non-UTF-8 OCSP URLs
Vulnerability Description
rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.7 to before 0.10.79, X509Ref::ocsp_responders returns OCSP responder URLs from a certificate's AIA extension as OpensslString, whose Deref<Target = str> wraps the raw bytes with str::from_utf8_unchecked. OpenSSL does not enforce that the underlying IA5String is ASCII, so a certificate with non-UTF-8 bytes in its OCSP accessLocation causes safe Rust code to construct a &str that violates the UTF-8 invariant — resulting in undefined behavior. This vulnerability is fixed in 0.10.79.
CVSS Information
N/A
Vulnerability Type
输入验证不恰当
Vulnerability Title
rust-openssl 输入验证错误漏洞
Vulnerability Description
rust-openssl是rust-openssl开源的一个用于与 OpenSSL 库进行交互的库。 rust-openssl 0.9.7版本至0.10.79之前版本存在输入验证错误漏洞,该漏洞源于X509Ref::ocsp_responders返回证书AIA扩展中的OCSP响应者URL作为OpensslString,其Deref<Target = str>使用str::from_utf8_unchecked包装原始字节,OpenSSL不强制底层IA5String为ASCII,导致包含非UTF-8字节的O
CVSS Information
N/A
Vulnerability Type
N/A