First published: Thu Apr 05 2018(Updated: )
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.
Credit: security@apache.org security@apache.org
Affected Software | Affected Version | How to fix |
---|---|---|
Apache Hive | >=0.6.0<=2.3.2 | |
maven/org.apache.hive:hive-service | >=0.6.0<2.3.3 | 2.3.3 |
maven/org.apache.hive:hive-exec | >=0.6.0<2.3.3 | 2.3.3 |
maven/org.apache.hive:hive | >=0.6.0<2.3.3 | 2.3.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The vulnerability ID for this Apache Hive vulnerability is CVE-2018-1284.
The severity of CVE-2018-1284 is medium.
Apache Hive versions 0.6.0 to 2.3.2 are affected by this vulnerability.
A malicious user can exploit this vulnerability by using any xpath UDFs to expose the content of a file on the machine running HiveServer2.
Yes, you can find references for this vulnerability at the following links: [1](http://www.securityfocus.com/bid/103750), [2](https://lists.apache.org/thread.html/29184dbce4a37be2af36e539ecb479b1d27868f73ccfdff46c7174b4@%3Cdev.hive.apache.org%3E)