Vulnerability · Published Jul 16, 2022 · Assigned by apache
CVE-2021-34538Apache Hive Security vulnerability in Hive with UDFs
High 7.5
In plain English
A high-severity missing authentication in Apache Hive from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Apache Hive before 3.1.3 "CREATE" and "DROP" function operations does not check for necessary authorization of involved entities in the query. It was found that an unauthorized user can manipulate an existing UDF without having the privileges to do so. This allowed unauthorized or underprivileged users to drop and recreate UDFs pointing them to new jars that could be potentially malicious.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.hive:hive | 3.1.3 | GHSA-v3p8-j597-3xg8 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Hive | Apache Hive – before 3.1.3 |
Weakness: CWE-306
References
- https://lists.apache.org/thread/oqqgnhz4c6nxsfd0xstosnk0g15f7354 x_refsource_MISC