{"id":"CVE-2021-34538","published":"2022-07-16T07:10:09Z","modified":"2024-08-04T00:12:50Z","title":"Apache Hive Security vulnerability in Hive with UDFs","vendor":"Apache","product":"Apache Hive","tier":"tail","description":{"text":"Apache Hive before 3.1.3 \"CREATE\" and \"DROP\" function operations does 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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01852,"percentile":0.79668,"provenance":"source"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://lists.apache.org/thread/oqqgnhz4c6nxsfd0xstosnk0g15f7354","tags":["x_refsource_MISC"]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":15.93}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Hive","versions":[">= Apache Hive, < 3.1.3"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.hive:hive","vulnerableRanges":["<3.1.3"],"patched":["3.1.3"],"from":["GHSA-v3p8-j597-3xg8"],"provenance":"source"}],"summary":{"text":"Apache Hive versions before 3.1.3 contain a flaw in how the CREATE and DROP function operations handle user-defined functions (UDFs), where the authorization of the entities involved in the query is not checked. An attacker who can submit queries to Hive can, under these conditions, drop and recreate an existing UDF to point it at a new jar, which may be malicious, despite lacking the privileges to modify that function.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:49Z"},"euvd":{"id":"EUVD-2022-6416","exploited":false,"provenance":"source"}}