LiveActive security incident?Get immediate response
CVE Record

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 com...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This issue affects Apache Hive when the separate HPL/SQL command-line tool downloads files using COPY FROM FTP. A malicious or compromised FTP server could cause a downloaded file to be written somewhere unintended on the cluster host running the command.

Executive priority

Treat this as a targeted operational risk, not a broad internet-wide emergency. Prioritize validation in data clusters that use HPL/SQL FTP ingestion or rely on external FTP sources.

Technical view

Apache Hive 2.1.0 through 2.3.2 HPL/SQL FTP client code does not verify the destination path for COPY FROM FTP downloads. The source states Hive CLI and HiveServer2 users are not affected because HPL/SQL is invoked separately.

Likely exposure

Exposure is limited to environments running Apache Hive 2.1.0 through 2.3.2 where HPL/SQL is used and COPY FROM FTP contacts FTP servers that could be malicious or compromised.

Exploitation context

The provided sources do not show active exploitation, KEV listing, public exploit tooling, or a CVSS score. Exploitation requires the vulnerable HPL/SQL workflow and control or compromise of the FTP server involved.

Researcher notes

Key evidence gaps are CVSS, CWE mapping, and named fixed versions in the provided bundle. The vulnerability boundary is important: HPL/SQL COPY FROM FTP is in scope; Hive CLI and HiveServer2-only users are stated as unaffected.

Mitigation direction

  • Identify Apache Hive deployments running versions 2.1.0 through 2.3.2.
  • Disable or restrict HPL/SQL COPY FROM FTP where it is not required.
  • Permit FTP downloads only from trusted, controlled servers.
  • Limit filesystem permissions for accounts running HPL/SQL jobs.
  • Check Apache or distribution vendor guidance for confirmed fixed packages.

Validation and detection

  • Inventory Hive versions and confirm whether HPL/SQL is installed or used.
  • Review job scripts for COPY FROM FTP usage.
  • Check outbound FTP connections from Hive cluster hosts.
  • Review file permissions for accounts executing hplsql.
  • Confirm Hive CLI and HiveServer2-only workflows are not misclassified as exposed.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2018-1315 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Apache Software FoundationApache Hive2.1.0 to 2.3.2Listed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.