CVE-2018-1315

Severity
3.7LOW
EPSS
1.0%
top 22.72%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 5
Latest updateNov 21

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.

CVSS vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NExploitability: 2.2 | Impact: 1.4

Affected Packages5 packages

Mavenorg.apache.hive:hive2.1.02.3.3
Mavenorg.apache.hive:hive-exec2.1.02.3.3
Mavenorg.apache.hive:hive-service2.1.02.3.3
NVDapache/hive2.1.02.3.2
CVEListV5apache_software_foundation/apache_hive2.1.0 to 2.3.2

🔴Vulnerability Details

3
GHSA
Incorrect Permission Assignment for Critical Resource in Apache hive2018-11-21
OSV
Incorrect Permission Assignment for Critical Resource in Apache hive2018-11-21
CVEList
CVE-2018-1315: In Apache Hive 22018-04-05

📋Vendor Advisories

1
Red Hat
hive: 'COPY FROM FTP' feature allows malicious FTP server to write arbitrary files to the cluster2018-02-27

💬Community

2
Bugzilla
CVE-2018-1315 hive: 'COPY FROM FTP' feature allows malicious FTP server to write arbitrary files to the cluster2018-04-06
Bugzilla
CVE-2018-1315 hive: 'COPY FROM FTP' feature allows malicious FTP server to write arbitrary files to the cluster [fedora-all]2018-04-06
CVE-2018-1315 (LOW CVSS 3.7) | In Apache Hive 2.1.0 to 2.3.2 | cvebase.io