CVE-2014-0228: Hive Hive-exec, Org.apache.hive:hive, And Org.apache.hive:hive-service Vulnerability

LOW
Advisory Identifier: GHSA-w4x9-4f5x-8jj8
CWE-284
Published
Advisory Summary

CVE-2014-0228 is a LOW hive-exec, org.apache.hive:hive, and org.apache.hive:hive-service vulnerability (CWE-284: Improper Access Control) affecting Hive libraries in the Maven ecosystem. The issue involves hive-exec, org.apache.hive:hive, and org.apache.hive:hive-service. Remediation is available by upgrading affected packages to version 0.13.1.

CVE-2014-0228 at a Glance

CVE Identifier CVE-2014-0228
GHSA Identifier GHSA-w4x9-4f5x-8jj8
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-284: Improper Access Control
Affected Product Hive
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2014-0228

To remediate this vulnerability, upgrade all affected Hive dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.hive:hive fixed: 0.13.1
<dependency>
    <groupId>org.apache.hive</groupId>
    <artifactId>hive</artifactId>
    <version>0.13.1</version>
</dependency>
org.apache.hive:hive-exec fixed: 0.13.1
<dependency>
    <groupId>org.apache.hive</groupId>
    <artifactId>hive-exec</artifactId>
    <version>0.13.1</version>
</dependency>
org.apache.hive:hive-service fixed: 0.13.1
<dependency>
    <groupId>org.apache.hive</groupId>
    <artifactId>hive-service</artifactId>
    <version>0.13.1</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.hive

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2014-0228, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.hive

Analyze the terminal output to locate any version of Hive in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.13.1), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.hive command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Hive, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Apache Hive before 0.13.1, when in SQL standards based authorization mode, does not properly check the file permissions for (1) import and (2) export statements, which allows remote authenticated users to obtain sensitive information via a crafted URI.

CVE-2014-0228 Affected Hive Versions

3 component(s)
Fixed Versions:
0.13.1
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.hive:hive
Maven
< 0.13.1
0.13.1
org.apache.hive:hive-exec
Maven
< 0.13.1
0.13.1
org.apache.hive:hive-service
Maven
< 0.13.1
0.13.1

References

Frequently Asked Questions

What is CVE-2014-0228?
CVE-2014-0228 is a security vulnerability in Hive involving hive-exec, org.apache.hive:hive, and org.apache.hive:hive-service under CWE-284: Improper Access Control.
Which Hive versions are affected?
Affected versions include releases prior to 0.13.1 across affected packages: org.apache.hive:hive, org.apache.hive:hive-exec, org.apache.hive:hive-service.
What version fixes CVE-2014-0228?
Upgrading to 0.13.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is hive affected?
Yes, org.apache.hive:hive is affected in releases prior to 0.13.1. Upgrade your dependency to 0.13.1 or later.
Is hive-exec affected?
Yes, org.apache.hive:hive-exec is affected in releases prior to 0.13.1. Upgrade your dependency to 0.13.1 or later.
What CWE is associated with CVE-2014-0228?
CVE-2014-0228 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Maven dependencies for CVE-2014-0228?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.hive'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-w4x9-4f5x-8jj8",
  "modified" : "2020-06-16T21:59:37Z",
  "published" : "2018-11-21T22:23:29Z",
  "aliases" : [ "CVE-2014-0228" ],
  "summary" : "Low severity vulnerability that affects      org.apache.hive:hive-exec, org.apache.hive:hive, and org.apache.hive:hive-service",
  "details" : "Apache Hive before 0.13.1, when in SQL standards based authorization mode, does not properly check the file permissions for (1) import and (2) export statements, which allows remote authenticated users to obtain sensitive information via a crafted URI.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.hive:hive"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.13.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.hive:hive-exec"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.13.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.hive:hive-service"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.13.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-0228"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-w4x9-4f5x-8jj8"
  }, {
    "type" : "WEB",
    "url" : "http://mail-archives.apache.org/mod_mbox/hive-user/201406.mbox/%3CCABgNGzeN7E+9d=YV5yvnKA7wmSx1op_avtUjPcPtDaR6DLJM6g@mail.gmail.com%3E"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/127091/Apache-Hive-0.13.0-Authorization-Failure.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/532418/100/0/threaded"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:59:37Z",
    "nvd_published_at" : null
  }
}