Vulnerability in Apache Hive
CVE-2018-1315
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.
EPSS: 0.017 (76.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N.
Affected products
- Apache Hive
- Apache Software Foundation Hive — versions 2.1.0 to 2.3.2
Weakness classification (CWE)
References
- security@apache.org (mailing-list, x_refsource_MLIST)
Frequently asked questions
- What is CVE-2018-1315?
- CVE-2018-1315 is a low-severity vulnerability in Apache Hive, classified under Incorrect Permission Assignment for Critical Resource. CVSS score: 3.7/10. Published 2018-04-05.
- How severe is CVE-2018-1315?
- Low severity. CVSS v3 base score is 3.7 out of 10.