Advisory

RUSTSEC-2016-0001

Also known as: CVE-2016-10931, GHSA-34p9-f4q3-c4r7

Summary

SSL/TLS MitM vulnerability due to insecure defaults

Details

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).

Severity

High Basis: CVSS v3 score 8.1, vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2016-11-05 12:00 UTC
Modified
2026-02-04 04:25 UTC

Affected packages and fixes

openssl

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.9.0 (semver)

Fixed versions

0.9.0

Fix

  • Fixed version 0.9.0
    cargo update -p openssl --precise 0.9.0

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