Release Date: | 2025-02-03 | |
Impact: | Moderate | What is this? |
rust-openssl is a set of OpenSSL bindings for the Rust programming language. In affected versions `ssl::select_next_proto` can return a slice pointing into the `server` argument's buffer but with a lifetime bound to the `client` argument. In situations where the `sever` buffer's lifetime is shorter than the `client` buffer's, this can cause a use after free. This could cause the server to crash or to return arbitrary memory contents to the client. The crate`openssl` version 0.10.70 fixes the signature of `ssl::select_next_proto` to properly constrain the output buffer's lifetime to that of both input buffers. Users are advised to upgrade. In standard usage of `ssl::select_next_proto` in the callback passed to `SslContextBuilder::set_alpn_select_callback`, code is only affected if the `server` buffer is constructed *within* the callback.
See more information about CVE-2025-24898 from MITRE CVE dictionary and NIST NVD
NOTE: The following CVSS metrics and score provided are preliminary and subject to review.
Base Score: | 4.8 |
Vector String: | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L |
Version: | 3.1 |
Attack Vector: | Network |
Attack Complexity: | High |
Privileges Required: | None |
User Interaction: | None |
Scope: | Unchanged |
Confidentiality Impact: | Low |
Integrity Impact: | None |
Availability Impact: | Low |
Platform | Errata | Release Date |
Oracle Linux version 9 (bootc) | ELSA-2025-7160 | 2025-05-16 |
Oracle Linux version 9 (keylime-agent-rust) | ELSA-2025-7313 | 2025-05-16 |
Oracle Linux version 9 (python3.12-cryptography) | ELSA-2025-7317 | 2025-05-16 |
Oracle Linux version 9 (rpm-ostree) | ELSA-2025-7147 | 2025-05-16 |
Oracle Linux version 9 (rust-bootupd) | ELSA-2025-7241 | 2025-05-16 |
This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections: