1. Accueil
  2. Vulnérabilités
  3. CVE-2025-24898

CVE-2025-24898

rust-openssl is a set of OpenSSL bindings for the Rust programming language. In affected versions…

Publiée le 3 févr. 2025 · modifiée le 17 juin 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 41/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

crates.io (1 ligne(s))
crates.io
ProduitVersionsCorrigé dansSource
openssl de 0.0.0-0 (inclus) à 0.10.70 (exclu) 0.10.70 OSV

Correctif

Mise à jour — crates.io/openssl 0.10.70source officielle

Source : OSV

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
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: (CVSS 4.0, CNA:security-advisories@github.com)
Faiblesse
CWE-416 · Corruption mémoire

Comment sont obtenues et calculées ces données