9.8critical
HTTP Request Smuggling in hyper
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 2.97% (higher than 88% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-h3qr-rq2j-74w4RUSTSEC-2020-0008
Description
An issue was discovered in the hyper crate before 0.12.34 for Rust. HTTP request smuggling can occur. Remote code execution can occur in certain situations with an HTTP server on the loopback interface.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| hyper (crates.io) | from 0.11.0 before 0.12.34 | GitHub Advisory Database, RustSec Advisory Database |
| hyper hyper | before 0.12.34 | NVD |
All scores
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| RustSec Advisory Database | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
An issue was discovered in the hyper crate before 0.12.34 for Rust. HTTP request smuggling can occur. Remote code execution can occur in certain situations with an HTTP server on the loopback interface.
GitHub Advisory Database
Vulnerable versions of hyper allow GET requests to have bodies, even if there is no Transfer-Encoding or Content-Length header. As per the HTTP 1.1 specification, such requests do not have bodies, so the body will be interpreted as a separate HTTP request.
This allows an attacker who can control the body and method of an HTTP request made by hyper to inject a request with headers that would not otherwise be allowed, as demonstrated by sending a malformed HTTP request from a Substrate runtime. This allows bypassing CORS restrictions. In combination with other vulnerabilities, such as an exploitable web server listening on loopback, it may allow remote code execution.
The flaw was corrected in hyper version 0.12.34.
NVD (es)
Se detectó un problema en la crate hyper versiones anteriores a 0.12.34 para Rust. Un tráfico no autorizado de peticiones HTTP puede ocurrir. Una ejecución de código remota puede ocurrir en determinadas situaciones con un servidor HTTP en la interfaz loopback.
References
| https://rustsec.org/advisories/RUSTSEC-2020-0008.html | advisory, patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-35863 | advisory | |
| https://github.com/hyperium/hyper/issues/1925 | report, web | |
| https://github.com/hyperium/hyper | package | |
| https://crates.io/crates/hyper | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-35863 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-h3qr-rq2j-74w4 changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2020-0008 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2020-35863 changed 2026-06-17 | Public domain |