Vulnerabilities · 2024 · Apache
CVE-2024-23953
Apache Hive vulnerability
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 products
Hive. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Hive runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- lists.apache.org/thread/0nloywj49nbtlc6l3c6363qvq7o1ztb7 · Vendor Advisory
- github.com/apache/hive/commit/b418e3c9f479ba8e7d31e6470306111002ffa809 · Patch
- issues.apache.org/jira/browse/HIVE-28030 · Patch
- blog.gypsyengineer.com/en/security/preventing-timing-attacks-with-codeql.html · Exploit
- www.openwall.com/lists/oss-security/2025/01/28/3 · Third Party Advisory
- cqr.company/web-vulnerabilities/timing-attacks/
- github.com/apache/hive
- nvd.nist.gov/vuln/detail/CVE-2024-23953
- nvd.nist.gov/vuln/detail/CVE-2024-23953
- cve.org/CVERecord?id=CVE-2024-23953
More vulnerabilities in Apache products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.