RUSTSEC-2016-0002

    Dashboard / Vulnerabilities / RUSTSEC-2016-0002

    RUSTSEC-2016-0002

    Published: 9 May 2016Last Modified: 4 Feb 2026

    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.

    Affected packages

    Package

    Name: hyper

    Purl: pkg:cargo/hyper

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -0.9.4

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High