CVE-2021-34538
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.
How to fix
- apache hive3.1.3 or later
- org.apache.hive:hive3.1.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache hive | v < 3.1.3 | 3.1.3 |
| org.apache.hive:hiveMaven | v < 3.1.3 | 3.1.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.