Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.hive/hive-llap-common
  4. ›
  5. CVE-2024-23953

CVE-2024-23953: Apache Hive vulnerable to Observable Timing Discrepancy and Authentication Bypass by Spoofing

January 28, 2025

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.

References

  • blog.gypsyengineer.com/en/security/preventing-timing-attacks-with-codeql.html
  • cqr.company/web-vulnerabilities/timing-attacks
  • github.com/advisories/GHSA-p953-3j66-hg45
  • github.com/apache/hive
  • github.com/apache/hive/commit/b418e3c9f479ba8e7d31e6470306111002ffa809
  • issues.apache.org/jira/browse/HIVE-28030
  • lists.apache.org/thread/0nloywj49nbtlc6l3c6363qvq7o1ztb7
  • nvd.nist.gov/vuln/detail/CVE-2024-23953

Code Behaviors & Features

Detect and mitigate CVE-2024-23953 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.0.0

Fixed versions

  • 4.0.0

Solution

Upgrade to version 4.0.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-208: Observable Timing Discrepancy
  • CWE-290: Authentication Bypass by Spoofing

Source file

maven/org.apache.hive/hive-llap-common/CVE-2024-23953.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:09 +0000.