CVE-2018-1315
LOW 3.7CVSS 3.0Incorrect Permission Assignment for Critical Resource in Apache hive
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.
- Published
- 5 Apr 2018
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-732
- Also known as
- GHSA-p639-xxv5-j383
- Sources
- NVDJSONOSV GHSA-p639-xxv5-j383JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | LOW 3.7 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | LOW 3.7 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | hivecpe:2.3:a:apache:hive:*:*:*:*:*:*:*:* |
>= 2.1.0, <= 2.3.2 | |
| OSV | Maven | org.apache.hive:hive | >= 2.1.0, < 2.3.3 | 2.3.3 |
| OSV | Maven | org.apache.hive:hive-exec | >= 2.1.0, < 2.3.3 | 2.3.3 |
| OSV | Maven | org.apache.hive:hive-service | >= 2.1.0, < 2.3.3 | 2.3.3 |
References
- https://lists.apache.org/thread.html/d5da94ef60312c01a8d2348466680d1b5fb70702c71a3e84e94f7933%40%3Cdev.hive.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2018-1315 · ADVISORY
- https://github.com/advisories/GHSA-p639-xxv5-j383 · ADVISORY
- https://lists.apache.org/thread.html/d5da94ef60312c01a8d2348466680d1b5fb70702c71a3e84e94f7933@%3Cdev.hive.apache.org%3E · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 5 Apr 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Nov 2018)