GHSA-p639-xxv5-j383

Suggest an improvement
Source
https://github.com/advisories/GHSA-p639-xxv5-j383
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/11/GHSA-p639-xxv5-j383/GHSA-p639-xxv5-j383.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-p639-xxv5-j383
Aliases
Published
2018-11-21T22:24:08Z
Modified
2023-11-01T04:48:56.119858Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
Incorrect Permission Assignment for Critical Resource in Apache hive
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.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2020-06-16T21:48:04Z",
    "severity": "LOW",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-732"
    ]
}
References

Affected packages

Maven / org.apache.hive:hive

Package

Name
org.apache.hive:hive
View open source insights on deps.dev
Purl
pkg:maven/org.apache.hive/hive

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.1.0
Fixed
2.3.3

Affected versions

2.*

2.1.0
2.1.1
2.2.0
2.3.0
2.3.1
2.3.2

Maven / org.apache.hive:hive-exec

Package

Name
org.apache.hive:hive-exec
View open source insights on deps.dev
Purl
pkg:maven/org.apache.hive/hive-exec

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.1.0
Fixed
2.3.3

Affected versions

2.*

2.1.0
2.1.1
2.2.0
2.3.0
2.3.1
2.3.2

Maven / org.apache.hive:hive-service

Package

Name
org.apache.hive:hive-service
View open source insights on deps.dev
Purl
pkg:maven/org.apache.hive/hive-service

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.1.0
Fixed
2.3.3

Affected versions

2.*

2.1.0
2.1.1
2.2.0
2.3.0
2.3.1
2.3.2