Loading HuntDB...

GHSA-p639-xxv5-j383

GitHub Security Advisory

Incorrect Permission Assignment for Critical Resource in Apache hive

✓ GitHub Reviewed LOW Has CVE

Advisory Details

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.

Affected Packages

Maven org.apache.hive:hive
Affected versions: 2.1.0 (fixed in 2.3.3)
Maven org.apache.hive:hive-exec
Affected versions: 2.1.0 (fixed in 2.3.3)
Maven org.apache.hive:hive-service
Affected versions: 2.1.0 (fixed in 2.3.3)

Related CVEs

Key Information

GHSA ID
GHSA-p639-xxv5-j383
Published
November 21, 2018 10:24 PM
Last Modified
September 14, 2022 10:07 PM
CVSS Score
2.5 /10
Primary Ecosystem
Maven
Primary Package
org.apache.hive:hive
GitHub Reviewed
✓ Yes

Dataset

Last updated: September 14, 2025 6:31 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.