Apache Software Foundation Apache Hive
At a glance
- Source
- NVD
- EPSS
- EPSS 1.75 % Β· percentile 78 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- apache
- NVD 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.
Weaknesses (CWE)
- CWE-732 β Incorrect Permission Assignment for Critical Resource
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.0 | LOW 3.7 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | NVD Β· nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD Β· nvd@nist.gov (Primary) |
Advisories
- GHSA-p639-xxv5-j383 β Incorrect Permission Assignment for Critical Resource in Apache hive
European references
- ENISA EUVD Β· EUVD-2018-0764
- GCVE Β· GCVE-0-2018-1315
Affected configurations (NVD CPE)
cpe:2.3:a:apache:hive:*:*:*:*:*:*:*:*β₯ 2.1.0 β€ 2.3.2
Affected products
| Product | Versions |
|---|---|
| Apache Software Foundation Β· Apache Hive | affected 2.1.0 to 2.3.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |