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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Hive | 0.6.0 to 2.3.2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.hive:hive | >= 0.6.0, < 2.3.3 | 2.3.3 | GHSA-rxmr-c9jm-7mm8 |
| Maven | org.apache.hive:hive-exec | >= 0.6.0, < 2.3.3 | 2.3.3 | GHSA-rxmr-c9jm-7mm8 |
| Maven | org.apache.hive:hive-service | >= 0.6.0, < 2.3.3 | 2.3.3 | GHSA-rxmr-c9jm-7mm8 |