CVE-2020-35863
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
hyper (crates.io)from 0.11.0 before 0.12.34GitHub Advisory Database, RustSec Advisory Database
hyper hyperbefore 0.12.34NVD

All scores

GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
RustSec Advisory Database9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2020-35863 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-h3qr-rq2j-74w4 changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2020-0008 changed 2023-11-08CC0-1.0
NVDCVE-2020-35863 changed 2026-06-17Public domain