CVE-2018-1284
LOW 3.7CVSS 3.0Exposure 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.
- Published
- 5 Apr 2018
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- GHSA-rxmr-c9jm-7mm8
- Sources
- NVDJSONOSV GHSA-rxmr-c9jm-7mm8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | LOW 3.7 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | LOW 3.7 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | hivecpe:2.3:a:apache:hive:*:*:*:*:*:*:*:* |
>= 0.6.0, <= 2.3.2 | |
| OSV | Maven | org.apache.hive:hive | >= 0.6.0, < 2.3.3 | 2.3.3 |
| OSV | Maven | org.apache.hive:hive-exec | >= 0.6.0, < 2.3.3 | 2.3.3 |
| OSV | Maven | org.apache.hive:hive-service | >= 0.6.0, < 2.3.3 | 2.3.3 |
References
- http://www.securityfocus.com/bid/103750 · Third Party Advisory, VDB Entry, WEB
- https://lists.apache.org/thread.html/29184dbce4a37be2af36e539ecb479b1d27868f73ccfdff46c7174b4%40%3Cdev.hive.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2018-1284 · ADVISORY
- https://github.com/apache/hive/commit/f80a38ae1174553022deae4f8774918401d9756d · WEB
- https://github.com/advisories/GHSA-rxmr-c9jm-7mm8 · ADVISORY
- https://issues.apache.org/jira/browse/HIVE-18879 · WEB
- https://lists.apache.org/thread.html/29184dbce4a37be2af36e539ecb479b1d27868f73ccfdff46c7174b4@%3Cdev.hive.apache.org%3E · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 5 Apr 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Nov 2018)