Rust advisories / tiny_http
Vulnerability MediumRUSTSEC-2020-0031 · tiny_http
RUSTSEC-2020-0031: HTTP Request smuggling through malformed Transfer Encoding headers
Short answerA security vulnerability in the tiny_http crate: HTTP Request smuggling through malformed Transfer Encoding headers. Medium severity (CVSS 6.5). Fixed in 0.6.3, 0.8.0: update to a fixed version.
| Crate | tiny_http |
|---|---|
| Type | Vulnerability |
| Affected versions | Before 0.6.3; from 0.7.0 before 0.8.0. |
| Fixed in | 0.6.3, 0.8.0 |
| Severity | Medium, CVSS 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| Published | 2020-06-16 |
| Last changed | 2023-11-08 |
| Also known as | CVE-2020-35884, GHSA-7v2r-wxmg-mgvc |
What to do
- See which version you have:
cargo tree -i tiny_http(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p tiny_http. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for exampletiny_http = "0.8.0") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
HTTP pipelining issues and request smuggling attacks are possible due to incorrect Transfer encoding header parsing.
It is possible conduct HTTP request smuggling attacks (CL:TE/TE:TE) by sending invalid Transfer Encoding headers.
By manipulating the HTTP response the attacker could poison a web-cache, perform an XSS attack, or obtain sensitive information from requests other than their own.
References
- Package: crates.io/crates/tiny_http
- Advisory: rustsec.org/advisories/RUSTSEC-2020-0031.html
- Report: github.com/tiny-http/tiny-http/issues/173
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?