All reports
High

Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore

Affected versions

Affected versions
= 4.0.0-alpha-1
Fixed version
4.0.0-alpha-2
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-41137

Probability of exploitation in the next 30 days: 1.65%

FIRST EPSS · 2026-11-18

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.

Links