GHSA-p639-xxv5-j383

    Dashboard / Vulnerabilities / GHSA-p639-xxv5-j383

    GHSA-p639-xxv5-j383

    Published: 21 Nov 2018Last Modified: 8 Nov 2023
    Aliases:

    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 packages

    Package

    Name: org.apache.hive:hive

    Purl: pkg:maven/org.apache.hive/hive

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 2.1.0
    Fixed -2.3.3

    Affected versions

    2.1.0
    2.1.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High