CVE-2024-23953: Apache Hive: Timing Attack Against Signature in LLAP util
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 Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2024-23953?
CVE-2024-23953 has a high severity as it allows an authorized user to forge valid signatures.
How do I fix CVE-2024-23953?
To fix CVE-2024-23953, users are recommended to upgrade to Apache Hive version 4.0.0 or later.
Who is affected by CVE-2024-23953?
CVE-2024-23953 affects authorized users of Apache Hive versions below 4.0.0.
What components are impacted by CVE-2024-23953?
CVE-2024-23953 impacts the LlapSignerImpl component in Apache Hive.
Can an unauthorized user exploit CVE-2024-23953?
No, only authorized users can exploit the vulnerability in CVE-2024-23953.