rust openssl ssl::select_next_proto use after free
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| sfackler | rust-openssl | affected |
|
No data.
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 9 | |||
| rpm-ostree-0:2025.5-1.el9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:7147 | 2025-05-13T00:00:00Z |
| bootc-0:1.1.6-3.el9_6 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:7160 | 2025-05-13T00:00:00Z |
| rust-bootupd-0:0.2.27-3.el9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:7241 | 2025-05-13T00:00:00Z |
| keylime-agent-rust-0:0.2.2-2.el9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:7313 | 2025-05-13T00:00:00Z |
| python3.12-cryptography-0:41.0.7-2.el9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:7317 | 2025-05-13T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-4049-1 | rust-openssl security update |
EUVD |
EUVD-2025-0223 | 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. |
Github GHSA |
GHSA-rpmj-rpgj-qmpm | rust-openssl ssl::select_next_proto use after free |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.676% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat
Redhat enterprise Linux |
|
| CPEs | cpe:/a:redhat:enterprise_linux:9 | |
| Vendors & Products |
Redhat
Redhat enterprise Linux |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | rust openssl ssl::select_next_proto use after free | |
| Weaknesses | CWE-416 | |
| References |
| |
| Metrics |
cvssV4_0
|