Skip to content
Apache HiveGHSA-gf2v-9hp6-44qg

Apache Hive: improper certificate validation

High7.5CVE-2016-3083 · Published Mar 14, 2019 · updated Nov 8, 2023

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.

GitHub advisory

Affected versions

PackageAffectedFixed in
org.apache.hive:hive-exec
Maven
< 1.2.21.2.2
>= 2.0.0, < 2.0.12.0.1
Details and references

More Apache Hive advisories

All Apache Hive
Advisory
Improper Authentication in org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service
High7.3Mar 14, 2019
Apache Hive: information disclosure
Medium4.3Mar 14, 2019
Improper Authentication in hive:hive-exec
High8.1Nov 21, 2018
Exposure of Sensitive Information to an Unauthorized Actor in Apache hive
Low3.7Nov 21, 2018
Incorrect Permission Assignment for Critical Resource in Apache hive
Low3.7Nov 21, 2018
Apache Hive: improper authentication
High8.3Nov 21, 2018

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.