Loading HuntDB...

GHSA-gf2v-9hp6-44qg

GitHub Security Advisory

org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service vulnerable to Improper Certificate Validation

✓ GitHub Reviewed HIGH Has CVE

Advisory Details

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 Packages

Maven org.apache.hive:hive
Affected versions: 0 (fixed in 1.2.2)
Maven org.apache.hive:hive
Affected versions: 2.0.0 (fixed in 2.0.1)
Maven org.apache.hive:hive-service
Affected versions: 0 (fixed in 1.2.2)
Maven org.apache.hive:hive-service
Affected versions: 2.0.0 (fixed in 2.0.1)
Maven org.apache.hive:hive-exec
Affected versions: 0 (fixed in 1.2.2)
Maven org.apache.hive:hive-exec
Affected versions: 2.0.0 (fixed in 2.0.1)

Related CVEs

Key Information

GHSA ID
GHSA-gf2v-9hp6-44qg
Published
March 14, 2019 3:40 PM
Last Modified
September 17, 2022 12:32 AM
CVSS Score
7.5 /10
Primary Ecosystem
Maven
Primary Package
org.apache.hive:hive
GitHub Reviewed
✓ Yes

Dataset

Last updated: September 12, 2025 6:34 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.