Information disclosure in Apache Hive
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-200.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Hive | 0.6.0 to 2.3.2 | — | No fix listed | CNA |
| — | org.apache.hive:hive (Maven) | 0.6.0 to before 2.3.3 | 2.3.3 | Patch available | GHSA-rxmr-c9jm-7mm8 |
| — | org.apache.hive:hive-exec (Maven) | 0.6.0 to before 2.3.3 | 2.3.3 | Patch available | GHSA-rxmr-c9jm-7mm8 |
| — | org.apache.hive:hive-service (Maven) | 0.6.0 to before 2.3.3 | 2.3.3 | Patch available | GHSA-rxmr-c9jm-7mm8 |
- Apache Hive VendorApache Affected 0.6.0 to 2.3.2 Fixed in — No fix listed CNA
- org.apache.hive:hive (Maven) Vendor— Affected 0.6.0 to before 2.3.3 Fixed in 2.3.3 Patch available GHSA-rxmr-c9jm-7mm8
- org.apache.hive:hive-exec (Maven) Vendor— Affected 0.6.0 to before 2.3.3 Fixed in 2.3.3 Patch available GHSA-rxmr-c9jm-7mm8
- org.apache.hive:hive-service (Maven) Vendor— Affected 0.6.0 to before 2.3.3 Fixed in 2.3.3 Patch available GHSA-rxmr-c9jm-7mm8
Remediation
- Fix · GHSA-rxmr-c9jm-7mm8 org.apache.hive:hive (Maven) Fixed in 2.3.3 Advisory →
- Fix · GHSA-rxmr-c9jm-7mm8 org.apache.hive:hive-exec (Maven) Fixed in 2.3.3 Advisory →
- Fix · GHSA-rxmr-c9jm-7mm8 org.apache.hive:hive-service (Maven) Fixed in 2.3.3 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat JBoss Fuse Integration Service 2 | Affected | No fix planned: Will not fix |
Timeline
- 2026-10-02 Threatist record created from CVE-2018-1284
- 2026-10-03 Alias added: GHSA-rxmr-c9jm-7mm8
References
Advisory 2
Other 4
- [dev] 20180404 [SECURITY] CVE-2018-1284: Hive UDF series UDFXPathXXXX allow users to pass carefully crafted XML to access
- https://github.com/apache/hive/commit/f80a38ae1174553022deae4f8774918401d9756d
- https://issues.apache.org/jira/browse/HIVE-18879
- https://lists.apache.org/thread.html/29184dbce4a37be2af36e539ecb479b1d27868f73ccfdff46c7174b4@%3Cdev.hive.apache.org%3E
More Apache Hive vulnerabilities
- TI-2018-15196 Jodd before 5.0.4 performs Deserialization of Untrusted JSON Data when setClassMetadataName is set. CVSS 3.1CRITICAL 9.8
- TI-2026-40376 Apache Hive: SSRF vulnerability in Hive Avro Serde due to Insufficient input validation on avro.schema.url CVSS 3.1CRITICAL 9.1
- TI-2018-01187 SQL injection in Apache Hive CVSS 3.0CRITICAL 9.1
- TI-2026-36749 Apache Hive: SQL Injection vulnerability in HiveMetaStore partition-name direct-SQL paths CVSS 3.1CRITICAL 9.8
- TI-2015-06259 The authorization framework in Apache Hive 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0 and 1.2.1… CVSS 3.0HIGH 8.3
- TI-2020-10925 Uncontrolled resource consumption in Apache Thrift CVSS 3.1HIGH 7.5
Sources
- CVE-2018-1284 · CVE Program
- CVE-2018-1284 · NVD
- FIRST EPSS
- GHSA-rxmr-c9jm-7mm8 · GitHub Advisory Database · CC BY 4.0
- CVE-2018-1284 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences