CVE-2018-1284
published 2018-04-05CVE-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_float/xpath_long/xpath_…
PriorityP415low3.7CVSS 3.0
AVNACHPRNUINSUCLINAN
EPSS
2.27%
81.1th percentile
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
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apache | hive | 0.6.0 – 2.3.2 | — |
| apache_software_foundation | apache_hive | — | — |
CVSS provenance
nvdv3.03.7LOWCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:N
vendor_redhat3.7LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Exposure of Sensitive Information to an Unauthorized Actor in Apache hive
osv·2018-11-21
CVE-2018-1284 [LOW] Exposure of Sensitive Information to an Unauthorized Actor in Apache hive
Exposure of Sensitive Information to an Unauthorized Actor in Apache hive
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.
GHSA
Exposure of Sensitive Information to an Unauthorized Actor in Apache hive
ghsa·2018-11-21
CVE-2018-1284 [LOW] CWE-200 Exposure of Sensitive Information to an Unauthorized Actor in Apache hive
Exposure of Sensitive Information to an Unauthorized Actor in Apache hive
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.
Red Hat
hive: Mishandled input in UDFXPathUtil.java allows users to access arbitrary files via crafted XML
vendor_redhat·2018-03-07·CVSS 3.7
CVE-2018-1284 [LOW] CWE-20 hive: Mishandled input in UDFXPathUtil.java allows users to access arbitrary files via crafted XML
hive: Mishandled input in UDFXPathUtil.java allows users to access arbitrary files via crafted XML
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.
Package: hive (Red Hat JBoss Fuse Integration Service 2) - Will not fix
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-1284 hive: Mishandled input in UDFXPathUtil.java allows users to access arbitrary files via crafted XML [fedora-all]
bugzilla·2018-04-06·CVSS 3.7
CVE-2018-1284 [LOW] CVE-2018-1284 hive: Mishandled input in UDFXPathUtil.java allows users to access arbitrary files via crafted XML [fedora-all]
CVE-2018-1284 hive: Mishandled input in UDFXPathUtil.java allows users to access arbitrary files via crafted XML [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE
Bugzilla
CVE-2018-1284 hive: Mishandled input in UDFXPathUtil.java allows users to access arbitrary files via crafted XML
bugzilla·2018-04-06·CVSS 3.7
CVE-2018-1284 [LOW] CVE-2018-1284 hive: Mishandled input in UDFXPathUtil.java allows users to access arbitrary files via crafted XML
CVE-2018-1284 hive: Mishandled input in UDFXPathUtil.java allows users to access arbitrary files via crafted XML
Apache Hive through version 2.3.2 is vulnerable to the mishandling of xpath UDFs in UDFXPathUtil.java. An attacker could exploit this by passing crafted XML to access arbitrary files.
External References:
https://lists.apache.org/thread.html/29184dbce4a37be2af36e539ecb479b1d27868f73ccfdff46c7174b4@%3Cdev.hive.apache.org%3E
Upstream Issue:
https://issues.apache.org/jira/browse/HIVE-18879
Upstream Patches:
https://issues.apache.org/jira/secure/attachment/12913270/HIVE-18879.1.patch
https://issues.apache.org/jira/secure/attachment/12913453/HIVE-18879.1-branch-2.3.patch
Discussion:
Created hive tracking bugs for this issue:
Affects: fedora-all [bug 1564358]
http://www.securityfocus.com/bid/103750https://lists.apache.org/thread.html/29184dbce4a37be2af36e539ecb479b1d27868f73ccfdff46c7174b4%40%3Cdev.hive.apache.org%3Ehttp://www.securityfocus.com/bid/103750https://lists.apache.org/thread.html/29184dbce4a37be2af36e539ecb479b1d27868f73ccfdff46c7174b4%40%3Cdev.hive.apache.org%3E
2018-04-05
Published