{"id":"CVE-2018-1284","published":"2018-04-05T13:00:00Z","modified":"2024-09-16T18:38:28Z","title":"In Apache Hive 0.6.0 to 2.3.2, malicious user might use any xpath UDFs…","vendor":"Apache","product":"Apache Hive","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0215,"percentile":0.8257,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.apache.org/thread.html/29184dbce4a37be2af36e539ecb479b1d27868f73ccfdff46c7174b4%40%3Cdev.hive.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/103750","tags":["vdb-entry","x_refsource_BID"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":16.51}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Hive","versions":["0.6.0 to 2.3.2"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.hive:hive","vulnerableRanges":[">=0.6.0, <2.3.3"],"patched":["2.3.3"],"from":["GHSA-rxmr-c9jm-7mm8"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.hive:hive-exec","vulnerableRanges":[">=0.6.0, <2.3.3"],"patched":["2.3.3"],"from":["GHSA-rxmr-c9jm-7mm8"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.hive:hive-service","vulnerableRanges":[">=0.6.0, <2.3.3"],"patched":["2.3.3"],"from":["GHSA-rxmr-c9jm-7mm8"],"provenance":"source"}],"summary":{"text":"Apache Hive versions 0.6.0 through 2.3.2 contain a flaw in the xpath user-defined functions (xpath, xpath_string, xpath_boolean, xpath_number, xpath_double, xpath_float, xpath_long, xpath_int and xpath_short). An attacker who can run queries using these functions can read the contents of files on the HiveServer2 host that are owned by the HiveServer2 user, typically hive, provided hive.server2.enable.doAs is set to false.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:53Z"},"euvd":{"id":"EUVD-2018-0777","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2015-7521","published":"2016-01-29","fixed":"1.2.2","kev":false},{"cve":"CVE-2016-3083","published":"2017-05-30","fixed":"2.0.1","kev":false},{"cve":"CVE-2017-12625","published":"2017-11-01","fixed":"2.3.1","kev":false,"link":{"from":"CVE-2017-12625","to":"CVE-2018-1284","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.hive:hive","fromFixed":"2.3.1","toFixed":"2.3.3","daysApart":155},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.hive:hive-exec","fromFixed":"2.3.1","toFixed":"2.3.3","daysApart":155}]}},{"cve":"CVE-2018-1284","published":"2018-04-05","fixed":"2.3.3","kev":false},{"cve":"CVE-2018-1315","published":"2018-04-05","fixed":"2.3.3","kev":false},{"cve":"CVE-2020-1926","published":"2021-03-16","fixed":"2.3.8","kev":false},{"cve":"CVE-2021-34538","published":"2022-07-16","fixed":"3.1.3","kev":false}],"package":"Maven:org.apache.hive:hive"}}