What’s Vulnerable › Vulnerabilities
CVE-2021-34538: Apache Hive Security vulnerability in Hive with UDFs
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-07-16 · updated 2026-06-17
- Weakness: CWE-306
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 products
- Apache Software Foundation Apache Hive: before 3.1.3 — fixed in 3.1.3
How to fix
Upgrade to a fixed version: Apache Software Foundation Apache Hive 3.1.3. Check the vendor advisory for mitigations.
References
- https://lists.apache.org/thread/oqqgnhz4c6nxsfd0xstosnk0g15f7354
- https://lists.apache.org/thread/oqqgnhz4c6nxsfd0xstosnk0g15f7354
Get alerted when CVE-2021-34538 or the next vulnerability affects your stack