1. Accueil
  2. Vulnérabilités
  3. CVE-2022-39294

CVE-2022-39294

conduit-hyper integrates a conduit application with the hyper server. Prior to version 0.4.2, `conduit-hyper`…

Publiée le 31 oct. 2022 · modifiée le 17 juin 2026 · Sources : NVD, CERT-FR, EPSS (FIRST)

Moyen 48/100

Résumé

conduit-hyper integrates a conduit application with the hyper server. Prior to version 0.4.2, `conduit-hyper` did not check any limit on a request's length before calling [`hyper::body::to_bytes`](https://docs.rs/hyper/latest/hyper/body/fn.to_bytes.html). An attacker could send a malicious request with an abnormally large `Content-Length`, which could lead to a panic if memory allocation failed for that request. In version 0.4.2, `conduit-hyper` sets an internal limit of 128 MiB per request, otherwise returning status 400 ("Bad Request"). This crate is part of the implementation of Rust's [crates.io](https://crates.io/), but that service is not affected due to its existing cloud infrastructure, which already drops such malicious requests. Even with the new limit in place, `conduit-hyper` is not recommended for production use, nor to directly serve the public Internet.

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

Produits et versions affectés

Conduit-hyper project (2 ligne(s))
Conduit-hyper project
ProduitVersionsCorrigé dansSource
Conduit-hyper de 0.2.0 (exclu) à 0.4.2 (exclu) — NVD
Conduit-hyper 0.2.0 — NVD
crates.io (1 ligne(s))
crates.io
ProduitVersionsCorrigé dansSource
conduit-hyper de 0.2.0-alpha.3 (inclus) à 0.4.2 (exclu) 0.4.2 OSV

Correctif

Mise à jour — crates.io/conduit-hyper 0.4.2source 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
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-1284 · Autre (CWE-1284)

Comment sont obtenues et calculées ces données