CVEvulnerability

CVE-2018-1315

3.7 LOW Published 2018-04-05 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-04-05
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
3.7 LOW — CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
Weaknesses
CWE-732

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.

Affected configurations

• apache hive (>= 2.1.0 <= 2.3.2)

Related

Weakness · CWE (1)

  • CWE-732 Incorrect Permission Assignment for Critical Resource weakness

References