MEDIUM4.8
GHSA-9xjr-m6f3-v5wm
HTTPS MitM vulnerability due to lack of hostname verification
Details
When used on Windows platforms, all versions of Hyper prior to 0.9.4 did not perform hostname verification when making HTTPS requests.
This allows an attacker to perform MitM attacks by preventing any valid CA-issued certificate, even if there's a hostname mismatch.
The problem was addressed by leveraging rust-openssl's built-in support for hostname verification.
Are you affected?
Enter the version of the package you're using.
Affected packages
crates.io/hyper
Introduced in:
0Fixed in: 0.9.4Upgrade hyper to 0.9.4 or newer (ecosystem crates.io).
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-10932[ADVISORY]
- https://github.com/hyperium/hyper/issues/472[WEB]
- https://github.com/hyperium/hyper/commit/01160abd92956e5f995cc45790df7a2b86c8989f[WEB]
- https://github.com/hyperium/hyper/blob/master/CHANGELOG.md#v094-2016-05-09[WEB]
- https://rustsec.org/advisories/RUSTSEC-2016-0002.html[WEB]