Access Restriction Bypass Affecting org.apache.hive:hive-service package, versions [,1.2.2)[2.0.0,2.0.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHEHIVE-31513
  • published15 Oct 2017
  • disclosed23 May 2017
  • creditBranden Crawford

Introduced: 23 May 2017

CVE-2016-3083  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade org.apache.hive:hive-service to version 1.2.2, 2.0.1 or higher.

Overview

Affected versions org.apache.hive:hive-service package are vulnerable to Access Restriction Bypass. 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.

References

CVSS Scores

version 3.1