CVE-2021-34538

published 16 Jul 2022 · updated 4 Aug 2024

Apache Hive Security vulnerability in Hive with UDFs

5.0MediumEPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 3.1.3.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation>=Apache Hive <3.1.33.1.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-34538 severity on Zeptric[![CVE-2021-34538](https://zeptric.io/badge/cve/CVE-2021-34538.svg)](https://zeptric.io/cve/CVE-2021-34538)