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 rpm-ostree-libsUpgrade bootcUpgrade bootupdUpgrade system-reinstall-bootcUpgrade keylime-agent-rustUpgrade rpm-ostreeUpgrade python3.12-cryptography | Jul 4, 2025 | Feb 3, 2025 |
| Debian | — | Upgrade rust-openssl | Feb 12, 2025 | Feb 3, 2025 |
| Oracle_linux | — | Upgrade rpm-ostreeUpgrade bootupdUpgrade keylime-agent-rustUpgrade system-reinstall-bootcUpgrade python3.12-cryptographyUpgrade bootcUpgrade rpm-ostree-libs | May 26, 2025 | Feb 3, 2025 |
| Redhat_linux | — | Upgrade system-reinstall-bootc-debuginfoUpgrade rpm-ostree-libs-debuginfoUpgrade rpm-ostree-libsUpgrade bootc-debuginfoUpgrade rpm-ostree-debuginfoUpgrade keylime-agent-rust-debugsourceUpgrade bootcUpgrade rust-bootupd-debugsourceUpgrade python3.12-cryptographyUpgrade rpm-ostree-debugsourceUpgrade python3.12-cryptography-debuginfoNo solution existsUpgrade keylime-agent-rust-debuginfoUpgrade system-reinstall-bootcUpgrade keylime-agent-rustUpgrade bootupdUpgrade bootupd-debuginfoUpgrade bootc-debugsourceUpgrade rpm-ostreeUpgrade python3.12-cryptography-debugsource | May 14, 2025 | Feb 3, 2025 |
| Rocky_linux | — | Upgrade system-reinstall-bootc-debuginfoUpgrade bootc-debugsourceUpgrade python3.12-cryptography-debugsourceUpgrade keylime-agent-rustUpgrade keylime-agent-rust-debuginfoUpgrade bootupd-debuginfoUpgrade keylime-agent-rust-debugsourceUpgrade system-reinstall-bootcUpgrade bootc-debuginfoUpgrade python3.12-cryptography-debuginfoUpgrade bootupdUpgrade bootcUpgrade python3.12-cryptography | 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