CVE-2018-1315

hive: 'COPY FROM FTP' feature allows malicious FTP server to write arbitrary files to the cluster

Published Apr 5, 2018 CVSS 3.0 · 3.7 Low EPSS 1.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-0764 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 GHSA Github GHSA GHSA-p639-xxv5-j383 Incorrect Permission Assignment for Critical Resource in Apache hive
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Sep 17, 2024, 12:05 AM
Reserved
Dec 7, 2017, 12:00 AM
Status
Modified
Published
Apr 5, 2018, 1:29 PM
Modified
Jun 17, 2026, 1:51 AM
Severity
Moderate
Public date
Feb 27, 2018, 12:00 AM