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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published: 2018-04-05T13:00:00Z

Updated: 2024-09-17T00:05:55.849Z

Reserved: 2017-12-07T00:00:00

Link: CVE-2018-1315

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-04-05T13:29:01.090

Modified: 2024-11-21T03:59:36.633

Link: CVE-2018-1315

cve-icon Redhat

Severity : Moderate

Publid Date: 2018-02-27T00:00:00Z

Links: CVE-2018-1315 - Bugzilla