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