CVE-2016-3083
org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service vulnerable to Improper Certificate Validation
Description
Apache Hive (JDBC + HiveServer2) implements SSL for plain TCP and HTTP connections (it supports both transport modes). While validating the server's certificate during the connection setup, the client in Apache Hive before 1.2.2 and 2.0.x before 2.0.1 doesn't seem to be verifying the common name attribute of the certificate. In this way, if a JDBC client sends an SSL request to server abc.com, and the server responds with a valid certificate (certified by CA) but issued to xyz.com, the client will accept that as a valid certificate and the SSL handshake will go through.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.hive » hive | < 1.2.2>= 2.0.0, < 2.0.1 | 1.2.2, 2.0.1 |
| org.apache.hive » hive-exec | < 1.2.2>= 2.0.0, < 2.0.1 | 1.2.2, 2.0.1 |
| org.apache.hive » hive-service | < 1.2.2>= 2.0.0, < 2.0.1 | 1.2.2, 2.0.1 |
Blast radius
100% of the dependent artifacts (776) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 19,134 |
| 2 hops | 32,858 |
| 3 hops | 17,706 |
| 4 hops | 8,841 |
| 5 hops | 5,175 |
| 6 hops | 1,122 |
Most used dependents
- org.apache.spark » spark-hive633 usages
- org.apache.hive » hive-jdbc404 usages
- org.apache.hive » hive-service301 usages
- org.apache.oozie » oozie-core123 usages
- org.apache.sqoop » sqoop107 usages
- org.apache.hive.hcatalog » hive-hcatalog-core96 usages
- org.apache.hive » hive-cli71 usages
- co.cask.cdap » cdap-unit-test59 usages
- org.apache.spark » spark-hive-thriftserver52 usages
- io.cdap.cdap » hydrator-test48 usages
- org.apache.hive.hcatalog » hive-webhcat-java-client42 usages
- org.apache.hive » hive-contrib40 usages
- org.springframework.data » spring-data-hadoop37 usages
- org.apache.gobblin » gobblin-runtime33 usages
- org.apache.gobblin » gobblin-core29 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
