Skip to content
Fencer Intel
low 3.7

CVE-2018-1315 json

Incorrect Permission Assignment for Critical Resource in Apache hive

published 8y ago modified 4mo ago also GHSA-p639-xxv5-j383 , EUVD-2018-0764

cvss
3.7
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.7%
EPSS 1.7% chance of exploitation in 30 days, percentile 77%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.apache.hive:hive 2.3.3
  • maven org.apache.hive:hive-exec 2.3.3
  • maven org.apache.hive:hive-service 2.3.3

Is CVE-2018-1315 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-1315 updated cvss 6.3

hive: 'COPY FROM FTP' feature allows malicious FTP server to write arbitrary files to the cluster

  • Red Hat JBoss Fuse Integration Service 2 hive
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.75% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 3.7 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub 3.0 3.7 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected packages

ecosystem package affected fixed in
maven org.apache.hive:hive
>=2.1.0, <2.3.3
2.3.3
maven org.apache.hive:hive-exec
>=2.1.0, <2.3.3
2.3.3
maven org.apache.hive:hive-service
>=2.1.0, <2.3.3
2.3.3

Affected products

  • Apache Software Foundation Apache Hive

Classification

Weakness
  • CWE-732 Incorrect Permission Assignment for Critical Resource

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.