Skip to content

CVE-2018-1315 Incorrect Permission Assignment for Critical Resource in Apache hive

LowCVSS 3.7 EPSS 1.7%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
org.apache.hive/hive(Maven) >= 2.1.0, < 2.3.3 2.3.3
org.apache.hive/hive-exec(Maven) >= 2.1.0, < 2.3.3 2.3.3
org.apache.hive/hive-service(Maven) >= 2.1.0, < 2.3.3 2.3.3
org.apache.hive/hive(Maven) = 2.1.0 No fix listed
org.apache.hive/hive(Maven) = 2.1.1 No fix listed
org.apache.hive/hive(Maven) = 2.2.0 No fix listed
org.apache.hive/hive(Maven) = 2.3.0 No fix listed
org.apache.hive/hive(Maven) = 2.3.1 No fix listed
org.apache.hive/hive(Maven) = 2.3.2 No fix listed
org.apache.hive/hive-exec(Maven) = 2.1.0 No fix listed
org.apache.hive/hive-exec(Maven) = 2.1.1 No fix listed
org.apache.hive/hive-exec(Maven) = 2.2.0 No fix listed
org.apache.hive/hive-exec(Maven) = 2.3.0 No fix listed
org.apache.hive/hive-exec(Maven) = 2.3.1 No fix listed
org.apache.hive/hive-exec(Maven) = 2.3.2 No fix listed
org.apache.hive/hive-service(Maven) = 2.1.0 No fix listed
org.apache.hive/hive-service(Maven) = 2.1.1 No fix listed
org.apache.hive/hive-service(Maven) = 2.2.0 No fix listed
org.apache.hive/hive-service(Maven) = 2.3.0 No fix listed
org.apache.hive/hive-service(Maven) = 2.3.1 No fix listed
org.apache.hive/hive-service(Maven) = 2.3.2 No fix listed
apache hive >= 2.1.0, <= 2.3.2 No fix listed
Apache Hive = 2.1.0 to 2.3.2 No fix listed

References