GHSA-v3p8-j597-3xg8

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

At a glance

Published
Updated
CVE
CVE-2021-34538
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Description

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 packages

PackageVersions
Maven · org.apache.hive:hiveintroduced 0, fixed 3.1.3

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database