CVE-2016-10932: Hyper HTTPS MitM Vulnerability Due To Vulnerability
MODERATECVE-2016-10932 is a MODERATE (CVSS 4.8) https mitm vulnerability due to vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting Hyper libraries in the crates.io ecosystem. The issue involves https mitm vulnerability due to lack of hostname verification. Remediation is available by upgrading affected packages to version 0.9.4.
CVE-2016-10932 at a Glance
Security Impact
CVSS: 4.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N).
How to Fix CVE-2016-10932
To remediate this vulnerability, upgrade all affected Hyper dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade hyper to 0.9.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for hyper
How to Check if You Are Affected
To determine whether your application is affected by CVE-2016-10932, inspect your project dependencies for Hyper:
inspect dependencies for hyper
Analyze the terminal output to locate any version of Hyper in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. In Hyper, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2016-10932 Affected Hyper Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
hyper
|
crates.io |
< 0.9.4
|
0.9.4
|
References
Frequently Asked Questions
What is CVE-2016-10932?
Which Hyper versions are affected?
What version fixes CVE-2016-10932?
Is hyper affected?
What is the CVSS score of CVE-2016-10932?
What CWE is associated with CVE-2016-10932?
How can I check crates.io dependencies for CVE-2016-10932?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9xjr-m6f3-v5wm",
"modified" : "2023-06-13T17:38:19Z",
"published" : "2021-08-25T20:43:06Z",
"aliases" : [ "CVE-2016-10932" ],
"summary" : "HTTPS MitM vulnerability due to lack of hostname verification",
"details" : "When used on Windows platforms, all versions of Hyper prior to 0.9.4 did not perform hostname verification when making HTTPS requests.\n\nThis allows an attacker to perform MitM attacks by preventing any valid CA-issued certificate, even if there's a hostname mismatch.\n\nThe problem was addressed by leveraging rust-openssl's built-in support for hostname verification.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "hyper"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.9.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-10932"
}, {
"type" : "WEB",
"url" : "https://github.com/hyperium/hyper/issues/472"
}, {
"type" : "WEB",
"url" : "https://github.com/hyperium/hyper/commit/01160abd92956e5f995cc45790df7a2b86c8989f"
}, {
"type" : "WEB",
"url" : "https://github.com/hyperium/hyper/blob/master/CHANGELOG.md#v094-2016-05-09"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2016-0002.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-347" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-08-19T21:25:12Z",
"nvd_published_at" : null
}
}