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.
CVSS Details
- CVSS 4.0 Base Score: 6.3 (MEDIUM)
- CVSS 4.0 Vector: (CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade bootcUpgrade rpm-ostree-libsUpgrade keylime-agent-rustUpgrade system-reinstall-bootcUpgrade rpm-ostreeUpgrade python3.12-cryptographyUpgrade bootupd | Jul 4, 2025 | Feb 3, 2025 |
| Debian | — | Upgrade rust-openssl | Feb 12, 2025 | Feb 3, 2025 |
| Oracle_linux | — | Upgrade system-reinstall-bootcUpgrade rpm-ostreeUpgrade keylime-agent-rustUpgrade bootupdUpgrade bootcUpgrade rpm-ostree-libsUpgrade python3.12-cryptography | May 26, 2025 | Feb 3, 2025 |
| Redhat_linux | — | Upgrade rpm-ostree-debuginfoUpgrade rpm-ostree-libsUpgrade system-reinstall-bootc-debuginfoUpgrade bootc-debuginfoUpgrade rpm-ostree-libs-debuginfoUpgrade rust-bootupd-debugsourceUpgrade bootcUpgrade keylime-agent-rust-debugsourceUpgrade rpm-ostree-debugsourceUpgrade python3.12-cryptographyUpgrade bootc-debugsourceUpgrade system-reinstall-bootcUpgrade bootupd-debuginfoNo solution existsUpgrade keylime-agent-rust-debuginfoUpgrade rpm-ostreeUpgrade python3.12-cryptography-debugsourceUpgrade python3.12-cryptography-debuginfoUpgrade bootupdUpgrade keylime-agent-rust | May 14, 2025 | Feb 3, 2025 |
| Rocky_linux | — | Upgrade bootc-debuginfoUpgrade bootupdUpgrade keylime-agent-rust-debugsourceUpgrade bootupd-debuginfoUpgrade python3.12-cryptographyUpgrade python3.12-cryptography-debuginfoUpgrade system-reinstall-bootcUpgrade bootcUpgrade keylime-agent-rustUpgrade system-reinstall-bootc-debuginfoUpgrade python3.12-cryptography-debugsourceUpgrade bootc-debugsourceUpgrade keylime-agent-rust-debuginfo | Oct 6, 2025 | Oct 4, 2025 |
| Ubuntu | — | Upgrade librust-openssl-dev (Ubuntu Pro) | Nov 28, 2025 | Nov 26, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub