CVE-2018-1315

Low

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.

SeverityLow
CVSS3.7
Exploit probability—
ProductApache Hive
PublishedApr 5, 2018
First seenApr 5, 2018

How to fix

Update
  • org.apache.hive:hive2.3.3 or later
  • org.apache.hive:hive-exec2.3.3 or later
  • org.apache.hive:hive-service2.3.3 or later

Affected products

ProductAffected versionsFixed in
apache hive2.1.0 ≤ v ≤ 2.3.2—
org.apache.hive:hiveMaven2.1.0 ≤ v < 2.3.32.3.3
org.apache.hive:hive-execMaven2.1.0 ≤ v < 2.3.32.3.3
org.apache.hive:hive-serviceMaven2.1.0 ≤ v < 2.3.32.3.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.