CVE-2024-23953
MEDIUM 6.5CVSS 3.1Apache Hive vulnerable to Observable Timing Discrepancy and Authentication Bypass by Spoofing
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.
- Published
- 28 Jan 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-208CWE-290
- Also known as
- GHSA-p953-3j66-hg45
- Sources
- NVDJSONOSV GHSA-p953-3j66-hg45JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | hivecpe:2.3:a:apache:hive:*:*:*:*:*:*:*:* |
>= 2.2.0, < 4.0.0 | 4.0.0 |
| OSV | Maven | org.apache.hive:hive-llap-common | < 4.0.0 | 4.0.0 |
References
- https://blog.gypsyengineer.com/en/security/preventing-timing-attacks-with-codeql.html · Exploit, Third Party Advisory, WEB
- https://cqr.company/web-vulnerabilities/timing-attacks/ · Technical Description, WEB
- https://github.com/apache/hive · Product, PACKAGE
- https://github.com/apache/hive/commit/b418e3c9f479ba8e7d31e6470306111002ffa809 · Patch, WEB
- https://issues.apache.org/jira/browse/HIVE-28030 · Patch, WEB
- https://lists.apache.org/thread/0nloywj49nbtlc6l3c6363qvq7o1ztb7 · Mailing List, Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2025/01/28/3 · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-23953 · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 28 Jan 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Jan 2025)