Advisory

RUSTSEC-2016-0002

Also known as: CVE-2016-10932, GHSA-9xjr-m6f3-v5wm

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

Dates

Published
2016-05-09 12:00 UTC
Modified
2026-02-04 02:51 UTC

Affected packages and fixes

hyper

crates.io · All systems

Affected

  • introduced 0.0.0-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: RustSec Advisory Database · CC0-1.0

Sources & licences