AI and data stack advisories

Severe, 6 weeks1498Projects326

1498 severe, 6 weeks · 326 projects

Apache HiveGHSA-gf2v-9hp6-44qg

Apache Hive: improper certificate validation

Apache Hive

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

High7.5
Fix: upgrade to 1.2.2 or later (2 fixed versions below)
GitHub advisory

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 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