Advisory

GHSA-8928-2fgm-6x9x

Also known as: CVE-2021-38512, RUSTSEC-2021-0081

Summary

HTTP Request Smuggling in actix-http

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 20:58 UTC
Modified
2023-11-08 04:06 UTC

Affected packages and fixes

actix-http

crates.io · All systems

Affected

  • introduced 0, fixed 2.2.1 (semver)

Fixed versions

2.2.1

Fix

  • Fixed version 2.2.1
    cargo update -p actix-http --precise 2.2.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences