Miggo Logo

CVE-2024-23953: Apache Hive vulnerable to Observable Timing Discrepancy and Authentication Bypass by Spoofing

6.5

CVSS Score
3.1

Basic Information

EPSS Score
0.34502%
Published
1/28/2025
Updated
1/28/2025
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.apache.hive:hive-llap-commonmaven< 4.0.04.0.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from the use of Arrays.equals() in the checkSignature method of LlapSignerImpl. The commit diff explicitly shows the replacement of Arrays.equals() with MessageDigest.isEqual(), a constant-time comparison method. The CVE description and GHSA advisory directly attribute the vulnerability to this non-constant-time comparison. The file path and method name match the code change in the provided commit, confirming the location of the vulnerability.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

Us* o* *rr*ys.*qu*ls() in Ll*pSi*n*rImpl in *p**** *iv* to *omp*r* m*ss*** si*n*tur*s *llows *tt**k*r to *or** * v*li* si*n*tur* *or *n *r*itr*ry m*ss*** *yt* *y *yt*. T** *tt**k*r s*oul* ** *n *ut*oriz** us*r o* t** pro*u*t to p*r*orm t*is *tt**k. U

Reasoning

T** vuln*r**ility st*ms *rom t** us* o* `*rr*ys.*qu*ls()` in t** `****kSi*n*tur*` m*t*o* o* `Ll*pSi*n*rImpl`. T** *ommit *i** *xpli*itly s*ows t** r*pl***m*nt o* `*rr*ys.*qu*ls()` wit* `M*ss****i**st.is*qu*l()`, * *onst*nt-tim* *omp*rison m*t*o*. T**