CVE-2021-34538
publishedApache Hive Security vulnerability in Hive with UDFs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache HiveApache Hive to < 3.1.3 | Affected | Not stated | apache |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Hive | Apache Hive to < 3.1.3 (affected · custom) | apache · cna |
Weaknesses
1- CWE-306 CWE-306 Missing Authentication for Critical Function
References
1Provider assertions
2apache · cna
Apache Hive Security vulnerability in Hive with UDFs
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b3e2a4fcb2703d11fd0d12c1180c02c7793b9c6e5c59526beca1d3596a759fcd
- Ingested
- 23 Sep 2026, 07:54:51 UTC
- Source record
- Official CVE record