CVE-2018-1284
publishedhive: Mishandled input in UDFXPathUtil.java allows users to access arbitrary files via crafted XML
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Hive0.6.0 to 2.3.2 | Affected | Not stated | apache |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Hive | 0.6.0 to 2.3.2 (affected) | apache · cna |
Weaknesses
1- XML Injection
References
2- 103750 http://www.securityfocus.com/bid/103750
- [dev] 20180404 [SECURITY] CVE-2018-1284: Hive UDF series UDFXPathXXXX allow users to pass carefully crafted XML to access https://lists.apache.org/thread.html/29184dbce4a37be2af36e539ecb479b1d27868f73ccfdff46c7174b4%40%3Cdev.hive.apache.org%3E
Provider assertions
2apache · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9113c2ade7394f43c5074b61e120b66fbd27399794df59d49a1ee39f5b33fc95
- Ingested
- 23 Sep 2026, 07:44:16 UTC
- Source record
- Official CVE record