# CVE-2021-34538: Apache Hive Security vulnerability in Hive with UDFs

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-07-16 · Modified: 2024-08-04
- Aliases: GHSA-v3p8-j597-3xg8
- Record: https://cvemate.com/vulnerability/CVE-2021-34538 · JSON: https://cvemate.com/vulnerability/CVE-2021-34538/json

## 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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 1.868%, percentile 80.039%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache hive: ≥ Apache Hive, \< 3.1.3
- apache hive: \< 3.1.3
- org.apache.hive hive (Maven): \< 3.1.3

## References

- <https://lists.apache.org/thread/oqqgnhz4c6nxsfd0xstosnk0g15f7354>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-34538>
- <https://github.com/apache/hive>

---

Data as of 2026-12-05T04:47:37.507Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
