What’s Vulnerable › Vulnerabilities
CVE-2022-41137: Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore
- Severity: high (CVSS 8.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-12-05 · updated 2026-06-17
- Weakness: CWE-502
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.
Affected products
- Apache Software Foundation Apache Hive: 4.0.0-alpha1
References
- https://github.com/apache/hive
- https://github.com/apache/hive/commit/60027bb9c91a93affcfebd9068f064bc1f2a74c9
- https://issues.apache.org/jira/browse/HIVE-26539
- https://lists.apache.org/thread/jwtr3d9yovf2wo0qlxvkhoxnwxxyzgts
- http://www.openwall.com/lists/oss-security/2024/12/04/2
Get alerted when CVE-2022-41137 or the next vulnerability affects your stack