Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1564364 - (CVE-2018-1315) CVE-2018-1315 hive: 'COPY FROM FTP' feature allows malicious FTP server to write arbitrary files to the cluster
CVE-2018-1315 hive: 'COPY FROM FTP' feature allows malicious FTP server to wr...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20180227,repor...
: Security
Depends On: 1564371
Blocks: 1564360
  Show dependency treegraph
 
Reported: 2018-04-06 00:41 EDT by Sam Fowler
Modified: 2018-04-06 02:05 EDT (History)
6 users (show)

See Also:
Fixed In Version: hive 2.3.3, hive 3.0.0
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sam Fowler 2018-04-06 00:41:39 EDT
Apache Hive through version 2.3.2 has a vulnerability in the 'COPY FROM FTP' feature. 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.


External References:

https://lists.apache.org/thread.html/d5da94ef60312c01a8d2348466680d1b5fb70702c71a3e84e94f7933@%3Cdev.hive.apache.org%3E


Upstream Issue:

https://issues.apache.org/jira/browse/HIVE-18815


Upstream Patches:

https://issues.apache.org/jira/secure/attachment/12912330/HIVE-18815.1.patch
https://issues.apache.org/jira/secure/attachment/12912689/HIVE-18815.1-branch-2.3.patch
Comment 1 Sam Fowler 2018-04-06 02:05:49 EDT
Created hive tracking bugs for this issue:

Affects: fedora-all [bug 1564371]

Note You need to log in before you can comment on or make changes to this bug.