First published: Thu Apr 05 2018(Updated: )
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.
Credit: security@apache.org
Affected Software | Affected Version | How to fix |
---|---|---|
Apache Hive | >=2.1.0<=2.3.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The vulnerability ID for this Apache Hive vulnerability is CVE-2018-1315.
The severity level of CVE-2018-1315 is medium.
Versions 2.1.0 to 2.3.2 of Apache Hive are affected by CVE-2018-1315.
A compromised/malicious FTP server can cause the file to be written to an arbitrary location on the cluster where the 'COPY FROM FTP' command is run from.
You can find more information about CVE-2018-1315 at the following link: [https://lists.apache.org/thread.html/d5da94ef60312c01a8d2348466680d1b5fb70702c71a3e84e94f7933@%3Cdev.hive.apache.org%3E]