{"id":"RUSTSEC-2021-0020","summary":"Multiple Transfer-Encoding headers misinterprets request payload","details":"hyper's HTTP server code had a flaw that incorrectly understands some requests\nwith multiple transfer-encoding headers to have a chunked payload, when it\nshould have been rejected as illegal. This combined with an upstream HTTP proxy\nthat understands the request payload boundary differently can result in\n\"request smuggling\" or \"desync attacks\".","aliases":["CVE-2021-21299","GHSA-6hfq-h8hq-87mf"],"modified":"2023-11-08T04:04:40.665260Z","published":"2021-02-05T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/hyper"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2021-0020.html"},{"type":"ADVISORY","url":"https://github.com/hyperium/hyper/security/advisories/GHSA-6hfq-h8hq-87mf"}],"affected":[{"package":{"name":"hyper","ecosystem":"crates.io","purl":"pkg:cargo/hyper"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.12.0"},{"fixed":"0.12.36"},{"introduced":"0.13.0-0"},{"fixed":"0.13.10"},{"introduced":"0.14.0-0"},{"fixed":"0.14.3"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":[],"os":[]}},"database_specific":{"cvss":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0020.json","categories":["format-injection"]}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}