CVE-2018-11777: Improper Authentication in hive Hive-exec Vulnerability
HIGHCVE-2018-11777 is a HIGH (CVSS 8.1) hive-exec vulnerability (General Security Weakness) affecting Improper Authentication in hive libraries in the Maven ecosystem. The issue involves hive-exec. Remediation is available by upgrading affected packages to version 3.1.1, 2.3.4.
CVE-2018-11777 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2018-11777
To remediate this vulnerability, upgrade all affected Improper Authentication in hive dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-exec</artifactId>
<version>3.1.1</version>
</dependency>
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-exec</artifactId>
<version>2.3.4</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.hive
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2018-11777, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.hive
Analyze the terminal output to locate any version of Improper Authentication in hive in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.hive command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Improper Authentication in hive, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2018-11777 Affected Improper Authentication in hive Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.hive:hive-exec
|
Maven |
≥ 3.0.0
< 3.1.1
|
3.1.1
|
|
org.apache.hive:hive-exec
|
Maven |
< 2.3.4
|
2.3.4
|
References
Frequently Asked Questions
What is CVE-2018-11777?
Which Improper Authentication in hive versions are affected?
What version fixes CVE-2018-11777?
Is hive-exec affected?
What is the CVSS score of CVE-2018-11777?
What CWE is associated with CVE-2018-11777?
How can I check Maven dependencies for CVE-2018-11777?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rrfq-g5fq-fc9c",
"modified" : "2022-09-14T22:08:31Z",
"published" : "2018-11-21T22:25:04Z",
"aliases" : [ "CVE-2018-11777" ],
"summary" : "Improper Authentication in hive:hive-exec",
"details" : "In Apache Hive 2.3.3, 3.1.0 and earlier, local resources on HiveServer2 machines are not properly protected against malicious user if ranger, sentry or sql standard authorizer is not in use.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.hive:hive-exec"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.1.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.hive:hive-exec"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.3.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-11777"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-rrfq-g5fq-fc9c"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/963c8e2516405c9b532b4add16c03b2c5db621e0c83e80f45049cbbb@%3Cdev.hive.apache.org%3E"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/105886"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:55:42Z",
"nvd_published_at" : null
}
}