Advisory

GHSA-34p9-f4q3-c4r7

Also known as: CVE-2016-10931, RUSTSEC-2016-0001

Summary

Improper Certificate Validation in openssl

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: The source's own band: HIGH

Dates

Published
2021-08-25 20:43 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

openssl

crates.io · All systems

Affected

  • introduced 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences