Live threats

All CVEs / Apache

CVE-2021-34538Apache Hive

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
Jul 16, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-306
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Hive.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.hive:hive < 3.1.3 3.1.3 —

Per OSV / GitHub Advisories (GHSA-v3p8-j597-3xg8). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachehive< 3.1.3

Official sources

References

Links published by the sources. Open them with care.