hive: Mishandled input in UDFXPathUtil.java allows users to access arbitrary files via crafted XML
Published Apr 5, 2018
6.5
MEDIUMCVSS 3.0
EPSS 2.15%
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.
Affected products
-
- Version 0.6.0 to 2.3.2StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache Hive | n/a |
|
No data.
Red Hat JBoss Fuse Integration Service 2
hive
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat JBoss Fuse Integration Service 2 | hive | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
AV:N/AC:M/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.15% (0.02150) | 81.46th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.27% (0.02272) | 80.73th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.47% (0.00474) | 62.71th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.05% (0.00051) | 21.94th | v3 (v2023.03.01) |
| May 22, 2024 | 0.05% (0.00051) | 19.65th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.05% (0.00050) | 17.61th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.85% (0.01855) | 47.92th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.85% (0.01855) | 0.00th | v1 |
References (10)
- http://www.securityfocus.com/bid/103750 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2018-1284 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1564357 Issue Tracking
- https://github.com/advisories/GHSA-rxmr-c9jm-7mm8 Advisory
- https://github.com/apache/hive/commit/f80a38ae1174553022deae4f8774918401d9756d
- https://issues.apache.org/jira/browse/HIVE-18879
- https://lists.apache.org/thread.html/29184dbce4a37be2af36e539ecb479b1d27868f73ccfdff46c7174b4%40%3Cdev.hive.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/29184dbce4a37be2af36e539ecb479b1d27868f73ccfdff46c7174b4@%3Cdev.hive.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2018-1284
- https://www.cve.org/CVERecord?id=CVE-2018-1284
Change history (0)
No recorded changes yet.