High

Apache Hive before 3.1.3 `CREATE` and `DROP` function operations do not check for necessary authorization.

  • Disclosed: 17.07.2022
  • Updated: 11.10.2026 13:19

Apache Hive before 3.1.3 CREATE and DROP function operations do 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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.hive:hive < 3.1.3 3.1.3

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness (CWE)
CWE-306
Platform
Java / Kotlin (Maven)
Package
org.apache.hive:hive
Disclosed
17.07.2022
Updated
11.10.2026 13:19

Sources and licenses

OSV / GitHub Advisory Database - GHSA-v3p8-j597-3xg8 - CC BY 4.0

Vulnerability history: org.apache.hive:hive

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (9) in the archive
Total entries
9
First → latest
11.2018 07.2022
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 4
  • Medium 2
  • Low 3

Disclosures per year

  1. 2018: 4
  2. 2019: 3
  3. 2020: 0
  4. 2021: 0
  5. 2022: 2
  6. 2023: 0
  7. 2024: 0
  8. 2025: 0
  9. 2026: 0
Severity:
  1. Apache Hive before 3.1.3 `CREATE` and `DROP` function operations do not check for necessary authorization. this entry
    High · 7.5 CVE-2021-34538 < 3.1.3 3.1.3
  2. High · 7.3 CVE-2015-1772 >= 1.0.0, < 1.0.1, >= 1.1.0, < 1.1.1 1.0.1, 1.1.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.