Apache HiveGHSA-p639-xxv5-j383
Incorrect Permission Assignment for Critical Resource in Apache hive
Low3.7CVE-2018-1315 · Published Nov 21, 2018 · updated Nov 8, 2023
In Apache Hive 2.1.0 to 2.3.2, when 'COPY FROM FTP' statement is run using HPL/SQL extension to Hive, a compromised/malicious FTP server can cause the file to be written to an arbitrary location on the cluster where the command is run from. This is because FTP client code in HPL/SQL does not verify the destination location of the downloaded file. This does not affect hive cli user and hiveserver2 user as hplsql is a separate command line script and needs to be invoked differently.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| org.apache.hive:hive-exec Maven | >= 2.1.0, < 2.3.3 | 2.3.3 |
Details and references
- CVSS 3.0
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-732
- Also known as
- CVE-2018-1315
More Apache Hive advisories
All Apache Hive| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Mar 142019 | Apache Hive: improper certificate validation | High7.5 | 1.2.2+1 more |
| Mar 142019 | Apache Hive: information disclosure | Medium4.3 | 2.1.2+2 more |
| Nov 212018 | Improper Authentication in hive:hive-exec | High8.1 | 2.3.4+1 more |
| Nov 212018 | Exposure of Sensitive Information to an Unauthorized Actor in Apache hive | Low3.7 | 2.3.3 |
| Nov 212018 | Apache Hive: improper authentication | High8.3 | 1.2.2 |
| Nov 212018 | Apache Hive: information disclosure | Low | 0.13.1 |