Vulnerability · Published Jul 16, 2022 · Assigned by apache

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

High 7.5

In plain English

A high-severity missing authentication in Apache Hive from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.9%top 20.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.apache.hive:hive3.1.3GHSA-v3p8-j597-3xg8

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Hive Apache Hive – before 3.1.3

Weakness: CWE-306

References