{"cve":"CVE-2018-1315","nvd":{"published":"2018-04-05T13:29:01.090","modified":"2026-06-17T01:51:00.120","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7},"cwes":["CWE-732"],"references":["https://lists.apache.org/thread.html/d5da94ef60312c01a8d2348466680d1b5fb70702c71a3e84e94f7933%40%3Cdev.hive.apache.org%3E","https://lists.apache.org/thread.html/d5da94ef60312c01a8d2348466680d1b5fb70702c71a3e84e94f7933%40%3Cdev.hive.apache.org%3E"],"products":["apache:hive"],"source":"nvd","synced_at":"2026-10-19T20:49:59.483420567+00:00"},"epss":{"cve":"CVE-2018-1315","score":0.01746,"percentile":0.77813,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-p639-xxv5-j383","url":"https://osv.dev/vulnerability/GHSA-p639-xxv5-j383","summary":"Incorrect Permission Assignment for Critical Resource in Apache hive","modified":"2023-11-08T03:59:52.710629Z","packages":[{"ecosystem":"Maven","name":"org.apache.hive:hive","purl":"pkg:maven/org.apache.hive/hive","ranges":[">=2.1.0 <2.3.3"],"fixed":["2.3.3"]},{"ecosystem":"Maven","name":"org.apache.hive:hive-exec","purl":"pkg:maven/org.apache.hive/hive-exec","ranges":[">=2.1.0 <2.3.3"],"fixed":["2.3.3"]},{"ecosystem":"Maven","name":"org.apache.hive:hive-service","purl":"pkg:maven/org.apache.hive/hive-service","ranges":[">=2.1.0 <2.3.3"],"fixed":["2.3.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}