Vulnerability Description
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.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Apache | Hive | >= 2.1.0, <= 2.3.2 |
Related Weaknesses (CWE)
References
- https://lists.apache.org/thread.html/d5da94ef60312c01a8d2348466680d1b5fb70702c71
- https://lists.apache.org/thread.html/d5da94ef60312c01a8d2348466680d1b5fb70702c71
FAQ
What is CVE-2018-1315?
CVE-2018-1315 is a vulnerability with a CVSS score of 3.7 (LOW). 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 th...
How severe is CVE-2018-1315?
CVE-2018-1315 has been rated LOW with a CVSS base score of 3.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-1315?
Check the references section above for vendor advisories and patch information. Affected products include: Apache Hive.