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 bootupdUpgrade keylime-agent-rustUpgrade python3.12-cryptographyUpgrade rpm-ostreeUpgrade rpm-ostree-libsUpgrade system-reinstall-bootc | Jul 4, 2025 | Feb 3, 2025 |
| Debian | — | Upgrade rust-openssl | Feb 12, 2025 | Feb 3, 2025 |
| Echo Linux | — | Upgrade rust-openssl | Nov 12, 2026 | Feb 3, 2025 |
| Oracle_linux | — | Upgrade bootcUpgrade bootupdUpgrade keylime-agent-rustUpgrade python3.12-cryptographyUpgrade rpm-ostreeUpgrade rpm-ostree-libsUpgrade system-reinstall-bootc | May 26, 2025 | Feb 3, 2025 |
| Redhat_linux | — | No solution existsUpgrade bootcUpgrade bootc-debuginfoUpgrade bootc-debugsourceUpgrade bootupdUpgrade bootupd-debuginfoUpgrade keylime-agent-rustUpgrade keylime-agent-rust-debuginfoUpgrade keylime-agent-rust-debugsourceUpgrade python3.12-cryptographyUpgrade python3.12-cryptography-debuginfoUpgrade python3.12-cryptography-debugsourceUpgrade rpm-ostreeUpgrade rpm-ostree-debuginfoUpgrade rpm-ostree-debugsourceUpgrade rpm-ostree-libsUpgrade rpm-ostree-libs-debuginfoUpgrade rust-bootupd-debugsourceUpgrade system-reinstall-bootcUpgrade system-reinstall-bootc-debuginfo | May 14, 2025 | Feb 3, 2025 |
| Rocky_linux | — | Upgrade bootcUpgrade bootc-debuginfoUpgrade bootc-debugsourceUpgrade bootupdUpgrade bootupd-debuginfoUpgrade keylime-agent-rustUpgrade keylime-agent-rust-debuginfoUpgrade keylime-agent-rust-debugsourceUpgrade python3.12-cryptographyUpgrade python3.12-cryptography-debuginfoUpgrade python3.12-cryptography-debugsourceUpgrade system-reinstall-bootcUpgrade system-reinstall-bootc-debuginfo | Oct 6, 2025 | Oct 4, 2025 |
| Ubuntu | — | Upgrade librust-openssl-dev (Ubuntu Pro) | Nov 28, 2025 | Nov 26, 2025 |
Prioritize 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