NetSight
high7.5

CVE-2021-34538

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

Impact

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

EcosystemPackageAffectedFixed in
mavenorg.apache.hive:hive< 3.1.33.1.3

Affected products

VendorProductAffected versions
ApacheHive
before 3.1.3

Weakness classification

References