Miggo Logo

CVE-2015-7521: High severity vulnerability that affects org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service

8.3

CVSS Score
3.0

Basic Information

EPSS Score
0.60173%
Published
11/21/2018
Updated
1/9/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.apache.hive:hivemaven>= 1.0.0, < 1.2.21.2.2
org.apache.hive:hive-execmaven>= 1.0.0, < 1.2.21.2.2
org.apache.hive:hive-servicemaven>= 1.0.0, < 1.2.21.2.2

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from missing parent table authorization checks during partition operations. The mitigation adds ParentTableAuthorizationHook to the semantic analyzer, indicating authorization was previously not enforced at this stage. The core vulnerability exists in semantic analysis methods processing partition-level DDL/DML operations (like analyzeInternal and analyzeAlterTable) that lacked parent privilege verification. These functions would appear in stack traces when unauthorized partition operations are processed.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

T** *ut*oriz*tion *r*m*work in *p**** *iv* *.*.*, *.*.*, *.*.*, *.*.*, *.*.* *n* *.*.*, on *lust*rs prot**t** *y R*n**r *n* SqlSt**iv**ut*oriz*tion, *llows *tt**k*rs to *yp*ss int*n*** p*r*nt t**l* ****ss r*stri*tions vi* unsp**i*i** p*rtition-l*v*l

Reasoning

T** vuln*r**ility st*ms *rom missin* p*r*nt t**l* *ut*oriz*tion ****ks *urin* p*rtition op*r*tions. T** miti**tion ***s `P*r*ntT**l**ut*oriz*tion*ook` to t** s*m*nti* *n*lyz*r, in*i**tin* *ut*oriz*tion w*s pr*viously not *n*or*** *t t*is st***. T** *