CVE-2021-34538
JSON

7.5high

Apache Hive Security vulnerability in Hive with UDFs

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
1.85% (higher than 79% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-v3p8-j597-3xg8

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

Product or packageVersionsReported by
Apache Software Foundation Apache Hivefrom Apache Hive before 3.1.3CVE List
org.apache.hive:hive (Maven)before 3.1.3GitHub Advisory Database
apache hivebefore 3.1.3NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Classification

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

Las operaciones de función "CREATE" y "DROP" de Apache Hive versiones anteriores a 3.1.3, no comprueban la autorización necesaria de las entidades implicadas en la consulta. Se ha encontrado que un usuario no autorizado puede manipular una UDF existente sin tener los privilegios para hacerlo. Esto permitía a usuarios no autorizados o poco privilegiados soltar y volver a crear UDFs que apuntaban a nuevos tarros que podían ser potencialmente maliciosos

References

Sources

SourceRecordLicence
CVE ListCVE-2021-34538 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-v3p8-j597-3xg8 changed 2026-09-10CC-BY-4.0
NVDCVE-2021-34538 changed 2026-06-17Public domain