rust-openssl
cpe:2.3:a:rust-openssl_project:rust-openssl:*:*:*:*:rust:*:*
- >= 0.9.7
A vulnerability in rust-openssl versions 0.9.7 prior to 0.10.79 allows for undefined behavior when handling OCSP responder URLs from a certificate's AIA extension. The issue arises because the X509Ref::ocsp_responders method returns these URLs as OpensslString, which improperly assumes the raw bytes are valid UTF-8. OpenSSL does not guarantee that the underlying IA5String is ASCII, leading to the possibility of non-UTF-8 bytes causing safe Rust code to create a &str that violates the UTF-8 invariant.
This vulnerability can lead to undefined behavior in Rust applications using the affected rust-openssl version, potentially causing memory safety issues.
Users can upgrade to rust-openssl version 0.10.79 or later to address this vulnerability.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.