CVE-2018-1284Apache Hive
Low 3.7 No auth needed
Follow: this CVE · Apache · Apache Hive We alert you by email or Slack (account required).
- Priority
- 37
- CVSS 3.0
- 3.7
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 83
- Auth required
- No
- Published
- Apr 5, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Hive.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.hive:hive |
≥ 0.6.0 < 2.3.3 |
2.3.3 |
— |
| Maven | org.apache.hive:hive-exec |
≥ 0.6.0 < 2.3.3 |
2.3.3 |
— |
| Maven | org.apache.hive:hive-service |
≥ 0.6.0 < 2.3.3 |
2.3.3 |
— |
Per OSV / GitHub Advisories (GHSA-rxmr-c9jm-7mm8). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | hive | ≥ 0.6.0 ≤ 2.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- lists.apache.org