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