CVE-2024-23953

MEDIUM EPSS 62.4%
Published Jan 28, 20251y ago · Modified Jun 17, 20262w ago
6.5 CVSS 3.1
Medium
Find Similar
Published Jan 28, 2025 1y ago
Last Modified Jun 17, 2026 2w ago

Description

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.

CVSS Details

Base Score
6.5
Exploitability
2.8
Impact
3.6
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity High
Availability None

Threat Intelligence

EPSS Exploit Probability
62.4% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-208

Affected Products 1

VendorProductVersionRange
apachehive*≥2.2.0  –  <4.0.0

References 7

  • openwall.com http://www.openwall.com/lists/oss-security/2025/01/28/3
    Mailing ListThird Party Advisory
  • blog.gypsyengineer.com https://blog.gypsyengineer.com/en/security/preventing-timing-attacks-with-codeql.html
    ExploitThird Party Advisory
  • cqr.company https://cqr.company/web-vulnerabilities/timing-attacks/
    Technical Description
  • github.com https://github.com/apache/hive
    Product
  • github.com https://github.com/apache/hive/commit/b418e3c9f479ba8e7d31e6470306111002ffa809
    Patch
  • issues.apache.org https://issues.apache.org/jira/browse/HIVE-28030
    Patch
  • lists.apache.org https://lists.apache.org/thread/0nloywj49nbtlc6l3c6363qvq7o1ztb7
    Mailing ListVendor Advisory

Remediation

  • github.com https://github.com/apache/hive/commit/b418e3c9f479ba8e7d31e6470306111002ffa809
    Patch
  • issues.apache.org https://issues.apache.org/jira/browse/HIVE-28030
    Patch