Advisory

GHSA-7v2r-wxmg-mgvc

Also known as: CVE-2020-35884, RUSTSEC-2020-0031

Summary

HTTP Request smuggling in tiny_http

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-08-25 20:48 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

tiny_http

crates.io · All systems

Affected

  • introduced 0, fixed 0.8.0 (semver)

Fixed versions

0.8.0

Fix

  • Fixed version 0.8.0
    cargo update -p tiny_http --precise 0.8.0

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