🛡️ CVE-2021-34538 — hive
Description
Apache Hive before 3.1.3 CREATE and DROP function operations do not check for necessary authorization.
Apache Hive before 3.1.3 CREATE and DROP function operations do 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.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity high, availability none.
Weakness class
CVE-2021-34538 is classified as CWE-306: Missing Authentication for Critical Function. A sensitive function can be reached without authenticating at all.
Affected software
CVE-2021-34538 is recorded against 1 package.
- org.apache.hive:hive (fixed in 3.1.3)
Timeline and source
Published on 17 July 2022 and last revised on 8 November 2023. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
nvd.nist.gov (Advisory)
github.com (Package)
lists.apache.org (Web)
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| org.apache.hive:hive | — | 3.1.3 |
References
Similar Threats
- Unknown CLSA-2025-1751328156
- Unknown CLSA-2026-1780966326
- High CVE-2025-62728
- Medium CVE-2024-29869
- Medium CVE-2024-23953
More CVE 2021 advisories
Browse all of CVE 2021 in the advisory index.
Site Security Check
Is hive part of your stack?
CVE-2021-34538 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.