Email me

Rust advisories / openssl

Vulnerability HighRUSTSEC-2016-0001 · openssl

RUSTSEC-2016-0001: SSL/TLS MitM vulnerability due to insecure defaults

Short answerA security vulnerability in the openssl crate: SSL/TLS MitM vulnerability due to insecure defaults. High severity (CVSS 8.1). Fixed in 0.9.0: update to a fixed version.

Crateopenssl
TypeVulnerability
Affected versionsBefore 0.9.0.
Fixed in0.9.0
SeverityHigh, CVSS 8.1
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2016-11-05
Last changed2026-02-04
Also known asCVE-2016-10931, GHSA-34p9-f4q3-c4r7

What to do

  1. See which version you have: cargo tree -i openssl (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p openssl. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example openssl = "0.9.0") 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

All versions of rust-openssl prior to 0.9.0 contained numerous insecure defaults including off-by-default certificate verification and no API to perform hostname verification.

Unless configured correctly by a developer, these defaults could allow an attacker to perform man-in-the-middle attacks.

The problem was addressed in newer versions by enabling certificate verification by default and exposing APIs to perform hostname verification. Use the SslConnector and SslAcceptor types to take advantage of these new features (as opposed to the lower-level SslContext type).

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 openssl

Full security history of openssl

Up next

Same crateopenssl: 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