CVE-2017-12625: Apache Hive - Incorrect Policy Enforcement on Masked Columns

org.apache.hive:hive Updated 02 Oct 2025

Summary

14/03/2019
Yes i
Moderate
4.3

CVE-2017-12625: Apache Hive 2.1.x before 2.1.2, 2.2.x before 2.2.1, and 2.3.x before 2.3.1 expose an interface through which masking policies can be defined on tables or views, e.g., using Apache Ranger. Affects org.apache.hive:hive across 3 version ranges.

>= 2.1.0, < 2.1.2 >= 2.2.0, < 2.2.1 >= 2.3.0, < 2.3.1

Fixed in 2.1.2, 2.2.1 or 2.3.1, depending on the release line you run. 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 Hadoop for providing data summarization, query, and analysis. It allows users to query and manage large datasets using a SQL-like language called HiveQL. The affected packages, org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service, are integral components of Apache Hive.

Vulnerability Detail

Apache Hive versions 2.1.x before 2.1.2, 2.2.x before 2.2.1, and 2.3.x before 2.3.1 suffer from a moderate severity vulnerability. This vulnerability exposes an interface through which masking policies can be defined on tables or views, typically using Apache Ranger. However, when a view is created over a table, the policy enforcement does not occur correctly on the table for masked columns. This flaw can potentially lead to unauthorized access to sensitive data.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.1.0, < 2.1.2 2.1.2
  • >= 2.2.0, < 2.2.1 2.2.1
  • >= 2.3.0, < 2.3.1 2.3.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is advised to upgrade to the fixed versions as soon as possible.

Conclusion

Apache Hive versions 2.1.x, 2.2.x, and 2.3.x suffer from a vulnerability that allows unauthorized access to sensitive data. It is crucial to upgrade to the fixed versions (2.1.2, 2.2.1, or 2.3.1) to ensure proper policy enforcement on masked columns. For further support on vulnerability remediation, 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 Hadoop for providing data summarization, query, and analysis.

The affected packages are org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service.

This vulnerability can potentially lead to unauthorized access to sensitive data.

No, there are no known workarounds for this vulnerability. It is recommended to upgrade to the fixed versions.

To fix this vulnerability, upgrade to Apache Hive versions 2.1.2, 2.2.1, or 2.3.1, depending on the affected package.

Related vulnerabilities

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

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.1.0, < 2.1.2 2.1.2
  • >= 2.2.0, < 2.2.1 2.2.1
  • >= 2.3.0, < 2.3.1 2.3.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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