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
| Package | Versions |
|---|---|
| Maven · org.apache.hive:hive | introduced 0, fixed 3.1.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-34538 ADVISORY
- https://github.com/apache/hive PACKAGE
- https://lists.apache.org/thread/oqqgnhz4c6nxsfd0xstosnk0g15f7354 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |