Email me

Rust advisories / hyper

Vulnerability MediumRUSTSEC-2016-0002 · hyper

RUSTSEC-2016-0002: HTTPS MitM vulnerability due to lack of hostname verification

Short answerA security vulnerability in the hyper crate: HTTPS MitM vulnerability due to lack of hostname verification. Medium severity (CVSS 4.8). Fixed in 0.9.4: update to a fixed version.

Cratehyper
TypeVulnerability (crypto-failure)
Affected versionsBefore 0.9.4.
Fixed in0.9.4
SeverityMedium, CVSS 4.8
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Published2016-05-09
Last changed2026-02-04
Also known asCVE-2016-10932, GHSA-9xjr-m6f3-v5wm

What to do

  1. See which version you have: cargo tree -i hyper (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p hyper. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example hyper = "0.9.4") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

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.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for hyper

Full security history of hyper

Up next

Same cratehyper: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ