Medium severity · published Jan 28, 2025
CVE-2024-23953
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
6.5
CVSS
1.3%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 71% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
HI
Hive · Apache
2.2.0 before 4.0.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-23953
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-23953
Exploit
https://blog.gypsyengineer.com/en/security/preventing-timing-attacks-with-codeql.html
Technical Description
https://cqr.company/web-vulnerabilities/timing-attacks/
Product
https://github.com/apache/hive
Patch
https://github.com/apache/hive/commit/b418e3c9f479ba8e7d31e6470306111002ffa809
Patch
https://issues.apache.org/jira/browse/HIVE-28030
Mailing List
https://lists.apache.org/thread/0nloywj49nbtlc6l3c6363qvq7o1ztb7
More from Hive
9.8
CVE-2026-49845
Apache Hive: SQL Injection vulnerability in HiveMetaStore partition-name direct-SQL paths
9.8
CVE-2018-21234
Jodd before 5.0.4 performs Deserialization of Untrusted JSON Data when setClassMetadataName is set
9.1
CVE-2026-55976
Apache Hive: SSRF vulnerability in Hive Avro Serde due to Insufficient input validation on avro.schema.url
9.1
CVE-2018-1282
This vulnerability in Apache Hive JDBC driver 0.7.1 to 2.3.2 allows carefully crafted arguments to be used to bypass the argument escaping/cleanup that JDBC driver does in…
8.3
CVE-2022-41137
Apache Hive Metastore (HMS) uses SerializationUtilities#deserializeObjectWithTypeInformation method when filtering and fetching partitions that is unsafe and can lead to Remote…
