CVE Vulnerabilities

CVE-2016-3083

Improper Certificate Validation

Published: May 30, 2017 | Modified: Nov 07, 2023
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu

Apache Hive (JDBC + HiveServer2) implements SSL for plain TCP and HTTP connections (it supports both transport modes). While validating the servers certificate during the connection setup, the client in Apache Hive before 1.2.2 and 2.0.x before 2.0.1 doesnt 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.

Weakness

The product does not validate, or incorrectly validates, a certificate.

Affected Software

Name Vendor Start Version End Version
Hive Apache 0.13.0 (including) 0.13.0 (including)
Hive Apache 0.13.1 (including) 0.13.1 (including)
Hive Apache 0.14.0 (including) 0.14.0 (including)
Hive Apache 1.0.0 (including) 1.0.0 (including)
Hive Apache 1.0.1 (including) 1.0.1 (including)
Hive Apache 1.1.0 (including) 1.1.0 (including)
Hive Apache 1.1.1 (including) 1.1.1 (including)
Hive Apache 1.2.0 (including) 1.2.0 (including)
Hive Apache 1.2.1 (including) 1.2.1 (including)

Potential Mitigations

References