hyper
Affected
- introduced
0.10.0, fixed0.10.2(semver)
Fixed versions
0.10.2
Fix
- Fixed version
0.10.2cargo update -p hyper --precise 0.10.2
Advisory
Also known as: CVE-2017-18587, RUSTSEC-2017-0002
Headers containing newline characters can split messages in hyper
Serializing of headers to the socket did not filter the values for newline bytes (\r or \n), which allowed for header values to split a request or response. People would not likely include newlines in the headers in their own applications, so the way for most people to exploit this is if an application constructs headers based on unsanitized user input.
This issue was fixed by replacing all newline characters with a space during serialization of a header value.
Medium Basis: The source's own band: MODERATE
0.10.0, fixed 0.10.2 (semver)0.10.2
0.10.2cargo update -p hyper --precise 0.10.20, fixed 0.9.18 (semver)0.9.18
0.9.18cargo update -p hyper --precise 0.9.18Fix 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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0