CVE-2016-3083

Severity CVSS v4.0:
Pending analysis
Type:
CWE-295 Improper Certificate Validation
Publication date:
30/05/2017
Last modified:
20/04/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:apache:hive:0.13.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:hive:0.13.1:*:*:*:*:*:*:*
cpe:2.3:a:apache:hive:0.14.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:hive:1.0.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:hive:1.0.1:*:*:*:*:*:*:*
cpe:2.3:a:apache:hive:1.1.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:hive:1.1.1:*:*:*:*:*:*:*
cpe:2.3:a:apache:hive:1.2.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:hive:1.2.1:*:*:*:*:*:*:*