ghsa-p639-xxv5-j383
Vulnerability from github
Published
2018-11-21 22:24
Modified
2022-09-14 22:07
Severity ?
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.
{ "affected": [ { "package": { "ecosystem": "Maven", "name": "org.apache.hive:hive" }, "ranges": [ { "events": [ { "introduced": "2.1.0" }, { "fixed": "2.3.3" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.apache.hive:hive-exec" }, "ranges": [ { "events": [ { "introduced": "2.1.0" }, { "fixed": "2.3.3" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.apache.hive:hive-service" }, "ranges": [ { "events": [ { "introduced": "2.1.0" }, { "fixed": "2.3.3" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2018-1315" ], "database_specific": { "cwe_ids": [ "CWE-732" ], "github_reviewed": true, "github_reviewed_at": "2020-06-16T21:48:04Z", "nvd_published_at": null, "severity": "LOW" }, "details": "In Apache Hive 2.1.0 to 2.3.2, when \u0027COPY FROM FTP\u0027 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.", "id": "GHSA-p639-xxv5-j383", "modified": "2022-09-14T22:07:19Z", "published": "2018-11-21T22:24:08Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1315" }, { "type": "ADVISORY", "url": "https://github.com/advisories/GHSA-p639-xxv5-j383" }, { "type": "WEB", "url": "https://lists.apache.org/thread.html/d5da94ef60312c01a8d2348466680d1b5fb70702c71a3e84e94f7933@%3Cdev.hive.apache.org%3E" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N", "type": "CVSS_V3" } ], "summary": "Incorrect Permission Assignment for Critical Resource in Apache hive" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.