Advisory

GHSA-9xjr-m6f3-v5wm

Also known as: CVE-2016-10932, RUSTSEC-2016-0002

Summary

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-08-25 20:43 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

hyper

crates.io · All systems

Affected

  • introduced 0, fixed 0.9.4 (semver)

Fixed versions

0.9.4

Fix

  • Fixed version 0.9.4
    cargo update -p hyper --precise 0.9.4

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