org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service vulnerable to Improper Certificate Validation
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.hive:hive | < 1.2.2, >= 2.0.0, < 2.0.1 | 1.2.2, 2.0.1 |
| Java / Kotlin (Maven) | org.apache.hive:hive-exec | < 1.2.2, >= 2.0.0, < 2.0.1 | 1.2.2, 2.0.1 |
| Java / Kotlin (Maven) | org.apache.hive:hive-service | < 1.2.2, >= 2.0.0, < 2.0.1 | 1.2.2, 2.0.1 |
References
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N- Weakness (CWE)
CWE-295- Platform
- Java / Kotlin (Maven)
- Package
org.apache.hive:hive, org.apache.hive:hive-exec, org.apache.hive:hive-service- Disclosed
- 14.03.2019
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-gf2v-9hp6-44qg - CC BY 4.0
Vulnerability history: org.apache.hive:hive-exec
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 10
- First → latest
- 11.2018 01.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 5
- Medium 2
- Low 3
Disclosures per year
- 2018: 5
- 2019: 3
- 2020: 0
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 1
- 2025: 1
- 2026: 0
-
org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service vulnerable to Improper Certificate Validation this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.