CVE-2018-1315 json
Incorrect Permission Assignment for Critical Resource in Apache hive
published 2018-04-05 8 y ago modified 2026-06-17 4 mo 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
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 hivenot 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-08).
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
-
lists.apache.org
/thread.html/d5da94ef60312c01a8d2348466680d1b5fb70702c71a3e84e94f7933%40%3Cdev.hive.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2018-1315
advisory
-
github.com
/advisories/GHSA-p639-xxv5-j383
advisory
-
lists.apache.org
/thread.html/d5da94ef60312c01a8d2348466680d1b5fb70702c71a3e84e94f7933@%3Cdev.hive.apache.org%3E
web
Sources
- CVE List CVE-2018-1315
- GitHub Advisory GHSA-p639-xxv5-j383
- NVD CVE-2018-1315
Fencer Vulns 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.