GHSA-p953-3j66-hg45

    Dashboard / Vulnerabilities / GHSA-p953-3j66-hg45

    GHSA-p953-3j66-hg45

    Published: 28 Jan 2025Last Modified: 28 Jan 2025

    Summary: Apache Hive vulnerable to Observable Timing Discrepancy and Authentication Bypass by Spoofing

    Details: Use of Arrays.equals() in LlapSignerImpl in Apache Hive to compare message signatures allows attacker to forge a valid signature for an arbitrary message byte by byte. The attacker should be an authorized user of the product to perform this attack. Users are recommended to upgrade to version 4.0.0, which fixes this issue. The problem occurs when an application doesn’t use a constant-time algorithm for validating a signature. The method Arrays.equals() returns false right away when it sees that one of the input’s bytes are different. It means that the comparison time depends on the contents of the arrays. This little thing may allow an attacker to forge a valid signature for an arbitrary message byte by byte. So it might allow malicious users to submit splits/work with selected signatures to LLAP without running as a privileged user, potentially leading to DDoS attack. More details in the reference section.

    Affected packages

    Package

    Name: org.apache.hive:hive-llap-common

    Purl: pkg:maven/org.apache.hive/hive-llap-common

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -4.0.0

    Affected versions

    2.0.0
    2.0.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
    GHSA-p953-3j66-hg45 | CVE-DB