{"id":"CVE-2018-1284","details":"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.","aliases":["GHSA-rxmr-c9jm-7mm8"],"modified":"2026-07-08T14:14:16.487468Z","published":"2018-04-05T13:29:01.057Z","references":[{"type":"WEB","url":"https://lists.apache.org/thread.html/29184dbce4a37be2af36e539ecb479b1d27868f73ccfdff46c7174b4%40%3Cdev.hive.apache.org%3E"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/103750"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/hive","events":[{"introduced":"2f01e0500ce571b197f998a5c0de46e56e066a36"},{"last_affected":"857a9fd8ad725a53bd95c1b2d6612f9b1155f44d"}],"database_specific":{"cpe":"cpe:2.3:a:apache:hive:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.6.0"},{"last_affected":"2.3.2"}],"source":"CPE_RANGE"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1284.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}