Low severity3.7NVD Advisory· Published Apr 5, 2018· Updated Jun 17, 2026
CVE-2018-1315
CVE-2018-1315
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.hive:hiveMaven | >= 2.1.0, < 2.3.3 | 2.3.3 |
org.apache.hive:hive-execMaven | >= 2.1.0, < 2.3.3 | 2.3.3 |
org.apache.hive:hive-serviceMaven | >= 2.1.0, < 2.3.3 | 2.3.3 |
Affected products
4- ghsa-coords3 versionspkg:maven/org.apache.hive/hivepkg:maven/org.apache.hive/hive-execpkg:maven/org.apache.hive/hive-service
>= 2.1.0, < 2.3.3+ 2 more
- (no CPE)range: >= 2.1.0, < 2.3.3
- (no CPE)range: >= 2.1.0, < 2.3.3
- (no CPE)range: >= 2.1.0, < 2.3.3
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-p639-xxv5-j383ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2018-1315ghsaADVISORY
- lists.apache.org/thread.html/d5da94ef60312c01a8d2348466680d1b5fb70702c71a3e84e94f7933@%3Cdev.hive.apache.org%3EghsaWEB
- lists.apache.org/thread.html/d5da94ef60312c01a8d2348466680d1b5fb70702c71a3e84e94f7933%40%3Cdev.hive.apache.org%3Envd
News mentions
0No linked articles in our index yet.