CVE-2018-1284
Exposure of Sensitive Information to an Unauthorized Actor in Apache hive
Description
In Apache Hive 0.6.0 to 2.3.2, malicious user might use any xpath UDFs (xpath/xpath_string/xpath_boolean/xpath_number/xpath_double/xpath_float/xpath_long/xpath_int/xpath_short) to expose the content of a file on the machine running HiveServer2 owned by HiveServer2 user (usually hive) if hive.server2.enable.doAs=false.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.hive » hive | >= 0.6.0, < 2.3.3 | 2.3.3 |
| org.apache.hive » hive-exec | >= 0.6.0, < 2.3.3 | 2.3.3 |
| org.apache.hive » hive-service | >= 0.6.0, < 2.3.3 | 2.3.3 |
Blast radius
100% of the dependent artifacts (1,185) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 77,760 |
| 2 hops | 72,787 |
| 3 hops | 64,169 |
| 4 hops | 25,315 |
| 5 hops | 21,076 |
| 6 hops | 2,536 |
Most used dependents
- org.apache.spark » spark-sql3,174 usages
- org.apache.spark » spark-core2,899 usages
- org.apache.spark » spark-mllib831 usages
- org.apache.spark » spark-streaming670 usages
- org.apache.spark » spark-hive633 usages
- org.apache.spark » spark-catalyst502 usages
- org.apache.hive » hive-metastore480 usages
- org.apache.hive » hive-jdbc404 usages
- org.apache.hive » hive-common305 usages
- org.apache.hive » hive-service301 usages
- org.apache.hive » hive-serde206 usages
- org.apache.spark » spark-graphx143 usages
- org.apache.spark » spark-yarn130 usages
- org.apache.oozie » oozie-core123 usages
- org.apache.spark » spark-repl110 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2018-1284
- Webhttps://github.com/apache/hive/commit/f80a38ae1174553022deae4f8774918401d9756d
- Advisoryhttps://github.com/advisories/GHSA-rxmr-c9jm-7mm8
- Webhttps://issues.apache.org/jira/browse/HIVE-18879
- Webhttps://lists.apache.org/thread.html/29184dbce4a37be2af36e539ecb479b1d27868f73ccfdff46c7174b4@%3Cdev.hive.apache.org%3E
- Webhttp://www.securityfocus.com/bid/103750
