GitHub Advisory Database
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | hyper | All versions before 0.9.4 (fixed in 0.9.4) |