High severity · published Dec 5, 2024
CVE-2022-41137
Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore
8.3
CVSS
1.6%
EPSS
No
On KEV
Description
Apache Hive Metastore (HMS) uses SerializationUtilities#deserializeObjectWithTypeInformation method when filtering and fetching partitions that is unsafe and can lead to Remote Code Execution (RCE) since it allows the deserialization of arbitrary data. In real deployments, the vulnerability can be exploited only by authenticated users/clients that were able to successfully establish a connection to the Metastore. From an API perspective any code that calls the unsafe method may be vulnerable unless it performs additional prerechecks on the input arguments.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.6% · higher than 76% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AH
Apache Hive · Apache Software Foundation
4.0.0-alpha-1 before 4.0.0 · source: vendor
HI
Hive · Apache
4.0.0 · source: NVD, CISA
Affected product
AH
Apache Hive
Apache Software Foundation
More from Apache Hive
9.8
CVE-2026-49845
Apache Hive: SQL Injection vulnerability in HiveMetaStore partition-name direct-SQL paths
9.1
CVE-2026-55976
Apache Hive: SSRF vulnerability in Hive Avro Serde due to Insufficient input validation on avro.schema.url
7.4
CVE-2026-53561
Apache Hive: Unauthenticated authentication bypass in HiveServer2 HTTP SAML bearer-token validation allows impersonation of any Hive user
6.5
CVE-2024-23953
Apache Hive: Timing Attack Against Signature in LLAP util
5.9
CVE-2024-23945
Apache Hive, Apache Spark, Apache Spark: CookieSigner exposes the correct signature when message verification fails