CVE-2022-41137

CVE-2022-41137: Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore

Vendor Apache Software Foundation
Product Apache Hive
Weakness CWE-502 · Unsafe deserialization
Published December 5, 2024
Last update December 5, 2024

CVSS base score

What the vulnerability does

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.

Key dates

Disclosure timeline

December 5, 2024 CVE published
December 5, 2024 Record updated