Apache Hive Security vulnerability in Hive with UDFs
CVE-2021-34538

7.5HIGH

Key Information:

Vendor

Apache

Vendor
CVE Published:
16 July 2022

Key facts: CVE-2021-34538 is a high severity (CVSS 7.5) vulnerability in Apache Hive. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 1.8%, the estimated probability of exploitation in the next 30 days. Fixed in Apache Hive 3.1.3.

What is CVE-2021-34538?

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 Version(s)

Apache Hive Apache Hive < 3.1.3

References

  • CVE-2026-133325: Key Exchange Vulnerability in Apache Tomcat Products by Apache
  • CVE-2026-116561: Improper Exception Management in Apache Tomcat Affects Multiple Versions
  • CVE-2026-129448: Deserialization Vulnerability in Apache Roller Affects Multiple Versions
  • CVE-2026-119618: Improper Synchronization Vulnerability in Apache HTTP Server's mod_http2
  • CVE-2026-90436: Deserialization Vulnerability in Apache Axis 1.x Allows Remote Code Execution
  • CVE-2026-121489: Path Traversal Vulnerability in Apache Juneau
  • CVE-2026-118636: Remote Code Execution Vulnerability in Apache MINA Codec Module
  • CVE-2026-64618: SQL Injection Vulnerability in Apache Fineract Affecting Specific API Endpoint
Browse all analysed vulnerabilities ›

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

This vulnerability was discovered and reported by Hideyuki Furue.
.