# CVE-2018-1315: Incorrect Permission Assignment for Critical Resource in Apache hive

Source: https://junglewise.ai/threats/cve-2018-1315-incorrect-permission-assignment-for-critical-resource-in-apache  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-11-21  
License: CC BY 4.0 with a link back

CVE-2018-1315 · Severity: low · CVSS 3 · Published 2018-11-21

Incorrect Permission Assignment for Critical Resource in Apache hive

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

## Quick answers

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

**How severe is CVE-2018-1315?** Low severity, with a CVSS score of 3, published 21 November 2018.

**Which products and versions are affected?** org.apache.hive:hive (Maven) ECOSYSTEM:introduced=2.1.0,fixed=2.3.3; org.apache.hive:hive-exec (Maven) ECOSYSTEM:introduced=2.1.0,fixed=2.3.3; org.apache.hive:hive-service (Maven) ECOSYSTEM:introduced=2.1.0,fixed=2.3.3.

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

**Am I affected by CVE-2018-1315?** Check whether you run org.apache.hive:hive (Maven), org.apache.hive:hive-exec (Maven) or org.apache.hive:hive-service (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 2.3.3 or later

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

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

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

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

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


## Affected products

- org.apache.hive:hive (Maven) ECOSYSTEM:introduced=2.1.0,fixed=2.3.3
- org.apache.hive:hive-exec (Maven) ECOSYSTEM:introduced=2.1.0,fixed=2.3.3
- org.apache.hive:hive-service (Maven) ECOSYSTEM:introduced=2.1.0,fixed=2.3.3

## Identifiers

- CVE-2018-1315
- GHSA-p639-xxv5-j383

## Related threats

- [Apache Hive Incorrectly Assigns Permissions for a Critical Resource](https://junglewise.ai/threats/cve-2024-29869-apache-hive-incorrectly-assigns-permissions-for-a-critical)
- [Apache Hive and Spark: CookieSigner exposes the correct signature when message verification fails](https://junglewise.ai/threats/cve-2024-23945-apache-hive-and-spark-cookiesigner-exposes-the-correct-signature)
- [Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore](https://junglewise.ai/threats/cve-2022-41137-apache-hive-deserialization-of-untrusted-data-when-fetching)
- [Apache Hive before 3.1.3 `CREATE` and `DROP` function operations do not check for necessary authorization.](https://junglewise.ai/threats/cve-2021-34538-apache-hive-before-3-1-3-create-and-drop-function-operations-do)
- [Apache Hive Information Exposure and Observable Timing Discrepancy](https://junglewise.ai/threats/cve-2020-1926-apache-hive-information-exposure-and-observable-timing-discrepancy)
