Read the docs
TI-2021-13560 Aliases CVE-2021-34538GHSA-v3p8-j597-3xg8

Apache Hive Security vulnerability in Hive with UDFs

Priority LOW 37CWE-306Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-306.

Summary

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.

Why it matters now

EPSS 0.01859 79th percentileScored 2026-11-07
Fix Fixed Apache Hive (Apache Software Foundation): 3.1.3org.apache.hive:hive (Maven): 3.1.3

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache HiveApache Hive to before 3.1.33.1.3Patch availableCNA
—org.apache.hive:hive (Maven)before 3.1.33.1.3Patch availableGHSA-v3p8-j597-3xg8
  • Apache Hive VendorApache Affected Apache Hive to before 3.1.3 Fixed in 3.1.3 Patch available CNA
  • org.apache.hive:hive (Maven) Vendor— Affected before 3.1.3 Fixed in 3.1.3 Patch available GHSA-v3p8-j597-3xg8

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:hive:*:*:*:*:*:*:*:*before 3.1.3VulnerableApache
  • cpe:2.3:a:apache:hive:*:*:*:*:*:*:*:* Versions before 3.1.3 Vulnerable ·Apache

Remediation

  • Fix · CNA Apache Hive (Apache Software Foundation) Fixed in 3.1.3
  • Fix · GHSA-v3p8-j597-3xg8 org.apache.hive:hive (Maven) Fixed in 3.1.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-34538
  2. 2026-10-03 Alias added: GHSA-v3p8-j597-3xg8

References

  • TI-2018-15196 Jodd before 5.0.4 performs Deserialization of Untrusted JSON Data when setClassMetadataName is set. CVSS 3.1CRITICAL 9.8
  • TI-2026-40376 Apache Hive: SSRF vulnerability in Hive Avro Serde due to Insufficient input validation on avro.schema.url CVSS 3.1CRITICAL 9.1
  • TI-2018-01187 SQL injection in Apache Hive CVSS 3.0CRITICAL 9.1
  • TI-2026-36749 Apache Hive: SQL Injection vulnerability in HiveMetaStore partition-name direct-SQL paths CVSS 3.1CRITICAL 9.8
  • TI-2015-06259 The authorization framework in Apache Hive 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0 and 1.2.1… CVSS 3.0HIGH 8.3
  • TI-2020-10925 Uncontrolled resource consumption in Apache Thrift CVSS 3.1HIGH 7.5
See all 22 →

Sources