{"id":"CVE-2021-38512","aliases":["CVE-2021-38512","GHSA-8928-2fgm-6x9x","RUSTSEC-2021-0081"],"related":[],"kind":"vulnerability","state":"published","title":"HTTP Request Smuggling in actix-http","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.\n\nPopular 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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","source":"nvd"}],"published":"2021-06-16T12:00:00.000Z","modified":"2026-06-17T04:02:15.620Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-444"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.2.1"}],"ecosystem":"crates.io","package":"actix-http","purl":"pkg:cargo/actix-http","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"2.2.1"},{"type":"semver","introduced":"3.0.0-0","status":"affected","fixed":"3.0.0-beta.9"}],"ecosystem":"crates.io","package":"actix-http","purl":"pkg:cargo/actix-http","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"3.0.0"},{"status":"affected","version":"3.0.0"},{"status":"affected","version":"3.0.0"},{"status":"affected","version":"3.0.0"},{"status":"affected","version":"3.0.0"},{"status":"affected","version":"3.0.0"},{"status":"affected","version":"3.0.0"},{"status":"affected","version":"3.0.0"},{"status":"affected","version":"3.0.0"},{"status":"affected","version":"3.0.0"}],"vendor":"actix","product":"actix-http","cpe":"cpe:2.3:a:actix:actix-http:*:*:*:*:*:rust:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"34"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0081.html","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/actix-http/RUSTSEC-2021-0081.md","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/67URRW4K47SR6LNQB4YALPLGGQMQK7HO/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38512","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/actix/actix-web/pull/2363","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/actix/actix-web/commit/e965d8298f421e9c89fe98b1300b8361e948c324","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/actix/actix-web","tags":["package"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/67URRW4K47SR6LNQB4YALPLGGQMQK7HO","tags":["web"],"sources":["ghsa"]},{"url":"https://crates.io/crates/actix-http","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-38512","url":"https://www.cve.org/CVERecord?id=CVE-2021-38512","licence":"CVE Terms of Use","modified":"2024-08-04T01:44:22.927Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8928-2fgm-6x9x","url":"https://github.com/advisories/GHSA-8928-2fgm-6x9x","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:27.940Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2021-0081","url":"https://rustsec.org/advisories/RUSTSEC-2021-0081.html","licence":"CC0-1.0","modified":"2023-11-08T04:06:27.940Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-38512","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38512","licence":"Public domain","modified":"2026-06-17T04:02:15.620Z"}],"updatedAt":"2026-11-25T22:58:03.101Z","epss":{"score":0.0181,"percentile":0.7926,"date":"2026-12-01T12:00:22.000Z"}}