- Accueil
- Vulnérabilités
- CVE-2022-39294
CVE-2022-39294
conduit-hyper integrates a conduit application with the hyper server. Prior to version 0.4.2, `conduit-hyper`…
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))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Conduit-hyper | de 0.2.0 (exclu) à 0.4.2 (exclu) |
— | NVD |
| Conduit-hyper | 0.2.0 |
— | NVD |
crates.io (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| 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
- — Publication de la CVE (cve)
Avis CERT-FR
- RUSTSEC-2022-0066 — Denial of Service from unchecked request length 30 oct. 2022
Références
- https://github.com/conduit-rust/conduit-hyper/security/advisories/GHSA-9398-5ghf-7pr6Third Party Advisory
- https://crates.io/crates/conduit-hyperPACKAGE
- https://rustsec.org/advisories/RUSTSEC-2022-0066.htmlADVISORY
- https://github.com/conduit-rust/conduit-hyper/commit/4d225a53206505d39438ec6694e15f49c038baffWEB
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)