Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-41137
Credits & Attribution
The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:
- Junjie Liao
References
More from Apache Software Foundation
View All →Affected Vendor
Apache Software Foundation
View all reports →