PT-2022-10351 · Apache · Apache Hive
Hideyuki Furue
·
Published
2022-07-16
·
Updated
2022-07-21
·
CVE-2021-34538
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Apache Hive versions prior to 3.1.3
Description
The issue arises from the lack of necessary authorization checks for involved entities in the query during
CREATE and DROP function operations. This allows an unauthorized user to manipulate an existing UDF without proper privileges, enabling them to drop and recreate UDFs that point to potentially malicious jars.Recommendations
For versions prior to 3.1.3, update to version 3.1.3 or later to resolve the issue. As a temporary workaround, consider restricting access to the
CREATE and DROP function operations to authorized users only, and monitor UDF manipulations closely to minimize the risk of exploitation.Fix
Missing Authentication
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Apache Hive