CVE-2021-34538: apache software foundation apache hive
Vulnerability summary
CVE-2021-34538 is a high (CVSS 7.5) vulnerability in apache software foundation apache hive. EPSS estimates a 1.86% chance of exploitation in the next 30 days, higher than 78.8% of scored vulnerabilities.
Timeline
- 16-07-2022PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- OSV · MavenEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
1.86%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
+0.10 pp
From 1.76% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Apache1 product
- hive< 3.1.3
Apache software foundation1 product
- apache hive≥ Apache Hive, < 3.1.3
Org.apache.hive1 product
- hive< 3.1.3
3 vendors · 3 products
References
3 links- lists.apache.org/thread/oqqgnhz4c6nxsfd0xstosnk0g15f7354X Refsource MISCWEBMailing ListVendor Advisory
- github.com/apache/hivePACKAGE