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.
Remediation
References
http://www.securityfocus.com/bid/103750
https://lists.apache.org/thread.html/29184dbce4a37be2af36e539ecb479b1d27868f73ccfdff46c7174b4%40%3Cdev.hive.apache.org%3E
Related Vulnerabilities
CVE-2021-28657 Vulnerability in maven package org.apache.tika:tika-parsers
CVE-2020-4076 Vulnerability in maven package org.webjars.npm:electron
CVE-2023-26119 Vulnerability in maven package net.sourceforge.htmlunit:htmlunit
CVE-2022-24615 Vulnerability in maven package net.lingala.zip4j:zip4j
CVE-2020-28865 Vulnerability in maven package com.github.kfcfans:powerjob