CVE-2021-34538 json
Apache Hive Security vulnerability in Hive with UDFs
published 2022-07-16 4 y ago modified 2026-09-10 1 mo ago also GHSA-v3p8-j597-3xg8 , EUVD-2022-6416
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.hive:hive 3.1.3
- Apache Software Foundation Apache Hive 3.1.3
Exploit prediction
1.86% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.hive:hive | <3.1.3 |
3.1.3 |
Affected products
- Apache Software Foundation Apache Hive
Classification
- Weakness
-
- CWE-306 Missing Authentication for Critical Functionality
References
-
lists.apache.org
/thread/oqqgnhz4c6nxsfd0xstosnk0g15f7354
web, mailing-list, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-34538
advisory
-
github.com
/apache/hive
package
Sources
- CVE List CVE-2021-34538
- GitHub Advisory GHSA-v3p8-j597-3xg8
- NVD CVE-2021-34538
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.