CVE-2021-34538: Apache Hive - Broken Access Control
- Cve: CVE-2021-34538
- Name: Apache Hive - Broken Access Control
- 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.
- Impact: Unauthorized users can manipulate UDFs, potentially leading to malicious code execution or data tampering.
- Remediation: Update to version 3.1.3 or later to include proper authorization checks.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.01852
- Epss percentile: 0.79563
- Assignee: [email protected]
- Published at: 2022-07-16T07:15:08Z
- Age in days: 1592
- Modified at: 2026-06-17T03:56:05Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-34538
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-306 | Missing Authentication for Critical Functionality |
References
| Url | Source | Tags |
|---|---|---|
| https://lists.apache.org/thread/oqqgnhz4c6nxsfd0xstosnk0g15f7354 | nvd | Mailing List, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:hive | < 3.1.3 | no | nvd | /v1/products/apache/hive |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/hive | package | yes | /v1/repositories/apache/hive |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 27
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports