CVE-2018-1315: Incorrect Permission Assignment for Critical Resource in Apache hive
3.7
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.76316%
CWE
Published
11/21/2018
Updated
1/9/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.hive:hive | maven | >= 2.1.0, < 2.3.3 | 2.3.3 |
org.apache.hive:hive-exec | maven | >= 2.1.0, < 2.3.3 | 2.3.3 |
org.apache.hive:hive-service | maven | >= 2.1.0, < 2.3.3 | 2.3.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from HPL/SQL's FTP client writing files without destination validation. The primary suspect is the FTP retrieval method retrieveFile()
which would directly handle file writes. The COPY
command executor copyFromFtp()
is also implicated as it initiates the vulnerable operation. These functions are core to the insecure workflow described in CVE-2018-1315 advisories, though exact method names are inferred based on standard HPL/SQL implementation patterns when patch details are unavailable.