{"id":"CVE-2016-10931","aliases":["CVE-2016-10931","GHSA-34p9-f4q3-c4r7","RUSTSEC-2016-0001"],"related":["RUSTSEC-2016-0002"],"kind":"vulnerability","state":"published","title":"Improper Certificate Validation in openssl","summary":"An issue was discovered in the openssl crate before 0.9.0 for Rust. There is an SSL/TLS man-in-the-middle vulnerability because certificate verification is off by default and there is no API for hostname verification.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the openssl crate before 0.9.0 for Rust. There is an SSL/TLS man-in-the-middle vulnerability because certificate verification is off by default and there is no API for hostname verification.","source":"cvelist"},{"lang":"en","text":"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).","format":"markdown","source":"ghsa"},{"lang":"en","text":"All versions of rust-openssl prior to 0.9.0 contained numerous insecure defaults\nincluding off-by-default certificate verification and no API to perform hostname\nverification.\n\nUnless configured correctly by a developer, these defaults could allow an attacker\nto perform man-in-the-middle attacks.\n\nThe problem was addressed in newer versions by enabling certificate verification\nby default and exposing APIs to perform hostname verification. Use the\n`SslConnector` and `SslAcceptor` types to take advantage of these new features\n(as opposed to the lower-level `SslContext` type).","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en el paquete openssl versiones anteriores a 0.9.0 para Rust. Presenta una vulnerabilidad de tipo man-in-the-middle de SSL/TLS porque la comprobación del certificado está desactivada por defecto y no existe API para la comprobación del nombre del host.","source":"nvd"}],"published":"2016-11-05T12:00:00.000Z","modified":"2026-06-17T00:40:38.780Z","severity":{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.9.0"}],"ecosystem":"crates.io","package":"openssl","purl":"pkg:cargo/openssl","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.9.0"}],"ecosystem":"crates.io","package":"openssl","purl":"pkg:cargo/openssl","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.9.0"}],"vendor":"rust-openssl_project","product":"rust-openssl","cpe":"cpe:2.3:a:rust-openssl_project:rust-openssl:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2016-0001.html","tags":["advisory","release-notes","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10931","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sfackler/rust-openssl","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/sfackler/rust-openssl/releases/tag/v0.9.0","tags":["web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/openssl","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2016-10931","url":"https://www.cve.org/CVERecord?id=CVE-2016-10931","licence":"CVE Terms of Use","modified":"2024-08-06T03:38:56.676Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-34p9-f4q3-c4r7","url":"https://github.com/advisories/GHSA-34p9-f4q3-c4r7","licence":"CC-BY-4.0","modified":"2023-11-08T03:58:21.575Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2016-0001","url":"https://rustsec.org/advisories/RUSTSEC-2016-0001.html","licence":"CC0-1.0","modified":"2026-02-04T04:25:11.291Z"},{"source":"nvd","name":"NVD","id":"CVE-2016-10931","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10931","licence":"Public domain","modified":"2026-06-17T00:40:38.780Z"}],"updatedAt":"2026-11-25T22:57:29.298Z","epss":{"score":0.00745,"percentile":0.55984,"date":"2026-12-01T12:00:22.000Z"}}