Vulnerabilityin Apache Hive.
No public exploit found; not on exploited lists.
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.
- Upgrade org.apache.hive:hive (Maven) to 2.3.3 or later.
- Upgrade org.apache.hive:hive-exec (Maven) to 2.3.3 or later.
- Upgrade org.apache.hive:hive-service (Maven) to 2.3.3 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 7 Dec 2017CVE ID reserved by apache.
- 5 Apr 2018Published in the CVE List.
- 17 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Hive vulnerabilities
- lists.apache.org mailing-list, x_refsource_MLIST
Patchminder. CVE-2018-1315: Vulnerability in Apache Hive. https://patchminder.com/cve/cve-2018-1315/ (accessed 5 December 2026).