rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.0 to before 0.10.78, the *_from_pem_callback APIs did not validate the length returned by the user's callback. A password callback that returns a value larger than the buffer it was given can cause some versions of OpenSSL to over-read this buffer. OpenSSL 3.x is not affected by this.
This vulnerability is fixed in 0.10.78.
Attack Parameters
Impact Assessment
CVSS Vector v4.0
Weakness Type (CWE)
Vulnerable Products 1
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Rust-Openssl_Project Rust-Openssl
cpe:2.3:a:rust-openssl_project:rust-openssl:*:*:*:*:*:rust:*:*
|
0.9.0
|
0.10.78
|