Skip to content
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.

GitHub advisory

Affected versions

PackageAffectedFixed in
org.apache.hive:hive-exec
Maven
>= 2.1.0, < 2.3.32.3.3
Details and references

More Apache Hive advisories

All Apache Hive
Advisory
Apache Hive: improper certificate validation
High7.5Mar 14, 2019
Apache Hive: information disclosure
Medium4.3Mar 14, 2019
Improper Authentication in hive:hive-exec
High8.1Nov 21, 2018
Exposure of Sensitive Information to an Unauthorized Actor in Apache hive
Low3.7Nov 21, 2018
Apache Hive: improper authentication
High8.3Nov 21, 2018
Apache Hive: information disclosure
LowNov 21, 2018

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.