# CVE-2021-34538: Apache Hive before 3.1.3 `CREATE` and `DROP` function operations do not check for necessary authorization.

Source: https://junglewise.ai/threats/cve-2021-34538-apache-hive-before-3-1-3-create-and-drop-function-operations-do  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-07-17  
License: CC BY 4.0 with a link back

CVE-2021-34538 · Severity: low · CVSS 3.1 · Published 2022-07-17

Apache Hive before 3.1.3 `CREATE` and `DROP` function operations do not check for necessary authorization.

Technologies: [org.apache.hive:hive (Maven)](https://junglewise.ai/threats/technologies/org-apache-hive-hive). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2021-34538 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-34538 being exploited in the wild.

**How severe is CVE-2021-34538?** Low severity, with a CVSS score of 3.1, published 17 July 2022.

**Which products and versions are affected?** org.apache.hive:hive (Maven) ECOSYSTEM:introduced=0,fixed=3.1.3.

**Is there a fix for CVE-2021-34538?** Yes. org.apache.hive:hive (Maven): upgrade to 3.1.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-34538?** Check whether you run org.apache.hive:hive (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.hive:hive (Maven): upgrade to 3.1.3 or later

  ```sh
  # set org.apache.hive:hive to 3.1.3 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.hive:hive (Maven) ECOSYSTEM:introduced=0,fixed=3.1.3

## Identifiers

- CVE-2021-34538
- GHSA-v3p8-j597-3xg8

## Related threats

- [Apache Hive Information Exposure and Observable Timing Discrepancy](https://junglewise.ai/threats/cve-2020-1926-apache-hive-information-exposure-and-observable-timing-discrepancy)
- [Improper Authentication in org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service](https://junglewise.ai/threats/cve-2015-1772-improper-authentication-in-org-apache-hive-hive-org-apache-hive)
- [org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service vulnerable to Improper Certificate Validation](https://junglewise.ai/threats/cve-2016-3083-org-apache-hive-hive-org-apache-hive-hive-exec-and-org-apache-hive)
- [Moderate severity vulnerability that affects org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service](https://junglewise.ai/threats/cve-2017-12625-moderate-severity-vulnerability-that-affects-org-apache-hive-hive)
- [Exposure of Sensitive Information to an Unauthorized Actor in Apache hive](https://junglewise.ai/threats/cve-2018-1284-exposure-of-sensitive-information-to-an-unauthorized-actor-in)
