VDB
Sign up
HIGH7.5

GHSA-v3p8-j597-3xg8

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

Quick fix

GHSA-v3p8-j597-3xg8 — org.apache.hive:hive: upgrade to the fixed version with the command below.

# pom.xml: bump <version>3.1.3</version> for org.apache.hive:hive

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.hive:hive
Introduced in: 0Fixed in: 3.1.3
Fix# pom.xml: bump <version>3.1.3</version> for org.apache.hive:hive

References