CVE-2021-38512
JSON

7.5high

HTTP Request Smuggling in actix-http

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
1.81% (higher than 79% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-8928-2fgm-6x9xRUSTSEC-2021-0081

Description

An issue was discovered in the actix-http crate before 3.0.0-beta.9 for Rust. HTTP/1 request smuggling (aka HRS) can occur, potentially leading to credential disclosure.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
actix-http (crates.io)before 2.2.1, from 0.0.0-0 before 2.2.1, from 3.0.0-0 before 3.0.0-beta.9GitHub Advisory Database, RustSec Advisory Database
actix actix-httpbefore 3.0.0, 3.0.0NVD
fedoraproject fedora34NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
RustSec Advisory Database7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:P/I:N/A:N

Classification

What each source says

CVE List

An issue was discovered in the actix-http crate before 3.0.0-beta.9 for Rust. HTTP/1 request smuggling (aka HRS) can occur, potentially leading to credential disclosure.

GitHub Advisory Database

Affected versions of this crate did not properly detect invalid requests that could allow HTTP/1 request smuggling (HRS) attacks when running alongside a vulnerable front-end proxy server. This can result in leaked internal and/or user data, including credentials, when the front-end proxy is also vulnerable.

Popular front-end proxies and load balancers already mitigate HRS attacks so it is recommended that they are also kept up to date; check your specific set up. You should upgrade even if the front-end proxy receives exclusively HTTP/2 traffic and connects to the back-end using HTTP/1; several downgrade attacks are known that can also expose HRS vulnerabilities.

NVD (es)

Se ha detectado un problema en la crate actix-http versiones anteriores a 3.0.0-beta.9 para Rust. Puede ocurrir un contrabando de peticiones HTTP/1 (también se conoce como HRS), conllevando potencialmente a una divulgación de credenciales

References

Sources

SourceRecordLicence
CVE ListCVE-2021-38512 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-8928-2fgm-6x9x changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2021-0081 changed 2023-11-08CC0-1.0
NVDCVE-2021-38512 changed 2026-06-17Public domain