CVE-2022-41137

published 5 Dec 2024 · updated 5 Dec 2024

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

8.3HighCVSS 8.3EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 4.0.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation>=4.0.0-alpha-1 <4.0.04.0.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-41137 severity on Zeptric[![CVE-2022-41137](https://zeptric.io/badge/cve/CVE-2022-41137.svg)](https://zeptric.io/cve/CVE-2022-41137)