Vulnerabilities in pkg:maven/org.apache.hive/hive-llap-common
PACKAGECVE-2024-23953 is a MODERATE (CVSS 6.5) authentication bypass vulnerability (CWE-208: Observable Timing Discrepancy) affecting Hive llap common libraries in the Maven ecosystem. The issue involves apache hive vulnerable to observable timing discrepancy and authentication bypass by spoofing. Remediation is available by upgrading affected packages to version 4.0.0.
pkg:maven/org.apache.hive/hive-llap-common
Vulnerability advisories affecting package pkg:maven/org.apache.hive/hive-llap-common. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-p953-3j66-hg45 | CVE-2024-23953 | MODERATE | Apache Hive vulnerable to Observable Timing Discrepancy and Authentication Bypass by Spoofing |
CVE-2024-23953 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2024-23953
To remediate this vulnerability, upgrade all affected Hive llap common dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-llap-common</artifactId>
<version>4.0.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.hive
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-23953, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.hive
Analyze the terminal output to locate any version of Hive llap common in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.hive command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-208: Observable Timing Discrepancy, where two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not. In Hive llap common, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-23953 Affected Hive llap common Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.hive:hive-llap-common
|
Maven |
< 4.0.0
|
4.0.0
|
References
Frequently Asked Questions
What is CVE-2024-23953?
Which Hive llap common versions are affected?
What version fixes CVE-2024-23953?
Is hive-llap-common affected?
What is the CVSS score of CVE-2024-23953?
What CWE is associated with CVE-2024-23953?
How can I check Maven dependencies for CVE-2024-23953?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p953-3j66-hg45",
"modified" : "2025-01-28T20:40:21Z",
"published" : "2025-01-28T09:32:34Z",
"aliases" : [ "CVE-2024-23953" ],
"summary" : "Apache Hive vulnerable to Observable Timing Discrepancy and Authentication Bypass by Spoofing",
"details" : "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.\n\nThe 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.\n\nMore details in the reference section.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.hive:hive-llap-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-23953"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/hive/commit/b418e3c9f479ba8e7d31e6470306111002ffa809"
}, {
"type" : "WEB",
"url" : "https://blog.gypsyengineer.com/en/security/preventing-timing-attacks-with-codeql.html"
}, {
"type" : "WEB",
"url" : "https://cqr.company/web-vulnerabilities/timing-attacks"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/hive"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/HIVE-28030"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/0nloywj49nbtlc6l3c6363qvq7o1ztb7"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/01/28/3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-208", "CWE-290" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-01-28T20:40:21Z",
"nvd_published_at" : "2025-01-28T09:15:09Z"
}
}