cve.bz

CVE-2018-1315 apache hive

3.7 lowEPSS 1.7%Fix available

Low (3.7) in apache hive. EPSS 1.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.hive:hive 2.3.3.

On this page
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.

Severity

CVSS 3.0

3.7 low
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS
1.7% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 78th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-732 Incorrect Permission Assignment for Critical Resource
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • org.apache.hive:hive (Maven): fixed in 2.3.3
  • org.apache.hive:hive-exec (Maven): fixed in 2.3.3
  • org.apache.hive:hive-service (Maven): fixed in 2.3.3

Ask an AI about this CVE

Show the promptExplain CVE-2018-1315 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1315?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1315?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1315 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:hivefrom 2.1.0 through 2.3.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-p639-xxv5-j383Mavenorg.apache.hive:hive>=2.1.0 <2.3.32.3.3
GHSA-p639-xxv5-j383Mavenorg.apache.hive:hive-exec>=2.1.0 <2.3.32.3.3
GHSA-p639-xxv5-j383Mavenorg.apache.hive:hive-service>=2.1.0 <2.3.32.3.3

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat JBoss Fuse Integration Service 2hiveNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1315.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-732 (11).

References

Check your stackJSON