Advisory

RUSTSEC-2020-0031

Also known as: CVE-2020-35884, GHSA-7v2r-wxmg-mgvc

Summary

HTTP Request smuggling through malformed Transfer Encoding headers

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: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Dates

Published
2020-06-16 12:00 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

tiny_http

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.6.3, introduced 0.7.0-0, fixed 0.8.0 (semver)

Fixed versions

0.6.3, 0.8.0

Fix

  • Fixed version 0.6.3
    cargo update -p tiny_http --precise 0.6.3
  • 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: RustSec Advisory Database · CC0-1.0

Sources & licences