Incorrect permission assignment in Apache Hive
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Hive | 2.1.0 to 2.3.2 | — | No fix listed | CNA |
| — | org.apache.hive:hive (Maven) | 2.1.0 to before 2.3.3 | 2.3.3 | Patch available | GHSA-p639-xxv5-j383 |
| — | org.apache.hive:hive-exec (Maven) | 2.1.0 to before 2.3.3 | 2.3.3 | Patch available | GHSA-p639-xxv5-j383 |
| — | org.apache.hive:hive-service (Maven) | 2.1.0 to before 2.3.3 | 2.3.3 | Patch available | GHSA-p639-xxv5-j383 |
- Apache Hive VendorApache Affected 2.1.0 to 2.3.2 Fixed in — No fix listed CNA
- org.apache.hive:hive (Maven) Vendor— Affected 2.1.0 to before 2.3.3 Fixed in 2.3.3 Patch available GHSA-p639-xxv5-j383
- org.apache.hive:hive-exec (Maven) Vendor— Affected 2.1.0 to before 2.3.3 Fixed in 2.3.3 Patch available GHSA-p639-xxv5-j383
- org.apache.hive:hive-service (Maven) Vendor— Affected 2.1.0 to before 2.3.3 Fixed in 2.3.3 Patch available GHSA-p639-xxv5-j383
Remediation
- Fix · GHSA-p639-xxv5-j383 org.apache.hive:hive (Maven) Fixed in 2.3.3 Advisory →
- Fix · GHSA-p639-xxv5-j383 org.apache.hive:hive-exec (Maven) Fixed in 2.3.3 Advisory →
- Fix · GHSA-p639-xxv5-j383 org.apache.hive:hive-service (Maven) Fixed in 2.3.3 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat JBoss Fuse Integration Service 2
Timeline
- 2026-10-02 Threatist record created from CVE-2018-1315
- 2026-10-03 Alias added: GHSA-p639-xxv5-j383
References
Advisory 2
More Apache Hive vulnerabilities
- TI-2018-15196 Jodd before 5.0.4 performs Deserialization of Untrusted JSON Data when setClassMetadataName is set. CVSS 3.1CRITICAL 9.8
- TI-2026-40376 Apache Hive: SSRF vulnerability in Hive Avro Serde due to Insufficient input validation on avro.schema.url CVSS 3.1CRITICAL 9.1
- TI-2018-01187 SQL injection in Apache Hive CVSS 3.0CRITICAL 9.1
- TI-2026-36749 Apache Hive: SQL Injection vulnerability in HiveMetaStore partition-name direct-SQL paths CVSS 3.1CRITICAL 9.8
- TI-2015-06259 The authorization framework in Apache Hive 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0 and 1.2.1… CVSS 3.0HIGH 8.3
- TI-2020-10925 Uncontrolled resource consumption in Apache Thrift CVSS 3.1HIGH 7.5
Sources
- CVE-2018-1315 · CVE Program
- CVE-2018-1315 · NVD
- FIRST EPSS
- GHSA-p639-xxv5-j383 · GitHub Advisory Database · CC BY 4.0
- CVE-2018-1315 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences