CVE-2018-1284: Apache Hive - Exposure of Sensitive Information

org.apache.hive:hive Updated 02 Oct 2025

Summary

21/11/2018
Yes i
Low
3.7

CVE-2018-1284: Exposure of Sensitive Information to an Unauthorized Actor in Apache hive. Affects org.apache.hive:hive versions >= 0.6.0, < 2.3.3. Fixed in 2.3.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Hive is a data warehouse infrastructure built on top of Apache Hadoop for querying and analyzing large datasets stored in Hadoop Distributed File System (HDFS). It provides a SQL-like interface to query and manage data. HiveServer2 is the server component of Apache Hive that allows clients to submit queries and interact with Hive. The vulnerability identified as CVE-2018-1284 affects versions 0.6.0 to 2.3.2 of Apache Hive.

Vulnerability Detail

The vulnerability allows a malicious user to exploit certain XPath UDFs (User-Defined Functions) in Apache Hive to expose the content of a file on the machine running HiveServer2. This file is owned by the HiveServer2 user, typically 'hive'. The vulnerability can be exploited when the configuration parameter 'hive.server2.enable.doAs' is set to 'false'. The impact of this vulnerability is the unauthorized disclosure of sensitive information stored on the machine running HiveServer2.

How To Fix

Minimum fixed version

2.3.3

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can set the 'hive.server2.enable.doAs' configuration parameter to 'true'. This will enable impersonation, ensuring that the file access is restricted to the authorized user. However, this workaround may have implications on the overall system performance and should be used cautiously.

Conclusion

The vulnerability in Apache Hive (CVE-2018-1284) exposes sensitive information to unauthorized actors. It is crucial to upgrade to Apache Hive version 2.3.3 or later to mitigate this vulnerability. Alternatively, users can apply the temporary workaround of setting 'hive.server2.enable.doAs' to 'true', but this may have performance implications. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.hive:hive →

Share this vulnerability

FAQ

Apache Hive is a data warehouse infrastructure built on top of Apache Hadoop for querying and analyzing large datasets stored in HDFS.

HiveServer2 is the server component of Apache Hive that allows clients to submit queries and interact with Hive.

The vulnerability allows unauthorized access to sensitive information stored on the machine running HiveServer2.

To fix this vulnerability, it is recommended to upgrade to Apache Hive version 2.3.3 or later.

Yes, a temporary workaround is to set the 'hive.server2.enable.doAs' configuration parameter to 'true'. However, this may impact system performance.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.hive:hive.

How To Fix

Minimum fixed version

2.3.3

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback