PT-2016-4587 · Openssl · Rust-Openssl

Published

2016-11-05

·

Updated

2023-02-27

·

CVE-2016-10931

CVSS v3.1

8.1

High

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions rust-openssl versions prior to 0.9.0
Description The issue is related to SSL/TLS man-in-the-middle attacks due to insecure defaults in the openssl crate for Rust. Specifically, certificate verification is off by default, and there is no API for hostname verification. This could allow an attacker to perform man-in-the-middle attacks unless the developer configures the settings correctly. The problem was addressed in newer versions by enabling certificate verification by default and exposing APIs to perform hostname verification.
Recommendations For versions prior to 0.9.0, update to version 0.9.0 or later to enable certificate verification by default and expose APIs for hostname verification. Use the SslConnector and SslAcceptor types instead of the lower-level SslContext type to take advantage of the new features.

Fix

Improper Certificate Validation

Weakness Enumeration

Related Identifiers

CVE-2016-10931
GHSA-34P9-F4Q3-C4R7
RUSTSEC-2016-0001

Affected Products

Rust-Openssl