rust-openssl up to 0.10.69 ssl::select_next_proto server use after free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.4 | $5k-$25k | 0.84 |
Summary
A vulnerability, which was classified as critical, was found in rust-openssl up to 0.10.69. Affected by this vulnerability is the function ssl::select_next_proto. The manipulation of the argument server results in use after free.
This vulnerability is reported as CVE-2025-24898. The attack can be launched remotely. No exploit exists.
You should upgrade the affected component.
Details
A vulnerability, which was classified as critical, was found in rust-openssl up to 0.10.69. Affected is the function ssl::select_next_proto. The manipulation of the argument server with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
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.
The advisory is shared for download at github.com. This vulnerability is traded as CVE-2025-24898 since 01/27/2025. The exploitability is told to be difficult. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $5k-$25k (estimation calculated on 02/11/2025).
The vulnerability scanner Nessus provides a plugin with the ID 216047 (Debian dla-4049 : librust-openssl-dev - security update), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 0.10.70 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (216047). Once again VulDB remains the best source for vulnerability data.
Product
Type
Name
Version
- 0.10.0
- 0.10.1
- 0.10.2
- 0.10.3
- 0.10.4
- 0.10.5
- 0.10.6
- 0.10.7
- 0.10.8
- 0.10.9
- 0.10.10
- 0.10.11
- 0.10.12
- 0.10.13
- 0.10.14
- 0.10.15
- 0.10.16
- 0.10.17
- 0.10.18
- 0.10.19
- 0.10.20
- 0.10.21
- 0.10.22
- 0.10.23
- 0.10.24
- 0.10.25
- 0.10.26
- 0.10.27
- 0.10.28
- 0.10.29
- 0.10.30
- 0.10.31
- 0.10.32
- 0.10.33
- 0.10.34
- 0.10.35
- 0.10.36
- 0.10.37
- 0.10.38
- 0.10.39
- 0.10.40
- 0.10.41
- 0.10.42
- 0.10.43
- 0.10.44
- 0.10.45
- 0.10.46
- 0.10.47
- 0.10.48
- 0.10.49
- 0.10.50
- 0.10.51
- 0.10.52
- 0.10.53
- 0.10.54
- 0.10.55
- 0.10.56
- 0.10.57
- 0.10.58
- 0.10.59
- 0.10.60
- 0.10.61
- 0.10.62
- 0.10.63
- 0.10.64
- 0.10.65
- 0.10.66
- 0.10.67
- 0.10.68
- 0.10.69
Support
- end of life (old version)
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CNA CVSS-B Score: 🔍
CNA CVSS-BT Score: 🔍
CNA Vector: 🔍
CVSSv3
VulDB Meta Base Score: 5.6VulDB Meta Temp Score: 5.4
VulDB Base Score: 5.6
VulDB Temp Score: 5.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 216047
Nessus Name: Debian dla-4049 : librust-openssl-dev - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: rust-openssl 0.10.70
Patch: github.com
Timeline
01/27/2025 🔍02/03/2025 🔍
02/03/2025 🔍
02/11/2025 🔍
Sources
Advisory: GHSA-rpmj-rpgj-qmpmStatus: Confirmed
CVE: CVE-2025-24898 (🔍)
GCVE (CVE): GCVE-0-2025-24898
GCVE (VulDB): GCVE-100-294492
Entry
Created: 02/03/2025 20:43Updated: 02/11/2025 13:22
Changes: 02/03/2025 20:43 (70), 02/11/2025 13:22 (2)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.