GitHub Advisory Database
GHSA-v3p8-j597-3xg8
Apache Hive before 3.1.3 `CREATE` and `DROP` function operations do not check for necessary authorization.
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.hive:hive | All versions before 3.1.3 (fixed in 3.1.3) |