# CVE-2024-23953: Apache Hive: Timing Attack Against Signature in LLAP util

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.43%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-01-28T09:07:22.333Z
- Modified: 2026-06-17T07:13:56.983Z
- Also known as: GHSA-p953-3j66-hg45
- Weaknesses: CWE-208, CWE-290
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- org.apache.hive:hive-llap-common: from 2.2.0 before 4.0.0
- org.apache.hive:hive-llap-common (Maven): before 4.0.0
- apache hive: from 2.2.0 before 4.0.0

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://blog.gypsyengineer.com/en/security/preventing-timing-attacks-with-codeql.html> (exploit, technical-description, third-party-advisory, web)
- <https://github.com/apache/hive> (package, product)
- <https://github.com/apache/hive/commit/b418e3c9f479ba8e7d31e6470306111002ffa809> (patch, web)
- <https://issues.apache.org/jira/browse/HIVE-28030> (issue-tracking, patch, web)
- <https://cqr.company/web-vulnerabilities/timing-attacks/> (technical-description)
- <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)
- <https://cqr.company/web-vulnerabilities/timing-attacks> (web)

## Sources

- CVE List: [CVE-2024-23953](https://www.cve.org/CVERecord?id=CVE-2024-23953), CVE Terms of Use, modified 2025-03-14
- GitHub Advisory Database: [GHSA-p953-3j66-hg45](https://github.com/advisories/GHSA-p953-3j66-hg45), CC-BY-4.0, modified 2025-01-28
- NVD: [CVE-2024-23953](https://nvd.nist.gov/vuln/detail/CVE-2024-23953), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-23953 · Whole record: https://cve.day/CVE-2024-23953.json · Rebuilt by cve.day 2026-11-25T22:58:51.275Z
