Red Hat VEX
RHVEX-CVE-2025-24898
rust-openssl: rust openssl ssl::select_next_proto use after free
Details
A flaw was found in the rust-openssl package. In certain 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 error. This could cause the server to crash or return arbitrary memory contents to the client.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | bootupd | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | fdo-admin-cli | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | fdo-client | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | fdo-init | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | fdo-manufacturing-server | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | fdo-owner-cli | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | fdo-owner-onboarding-server | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | fdo-rendezvous-server | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | trustee-guest-components | All versions, no fix (fix deferred) |
References
- https://access.redhat.com/security/cve/CVE-2025-24898
- https://bugzilla.redhat.com/show_bug.cgi?id=2343573
- https://www.cve.org/CVERecord?id=CVE-2025-24898
- https://nvd.nist.gov/vuln/detail/CVE-2025-24898
- https://crates.io/crates/openssl
- https://github.com/sfackler/rust-openssl/pull/2360
- https://github.com/sfackler/rust-openssl/security/advisories/GHSA-rpmj-rpgj-qmpm