Skip to content
OpenAdvisories
High · 8.3 CVE-2022-41137 EUVD-2024-3437GHSA-6hqr-c69m-r76q

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

Published Dec 5, 2024 · Updated Dec 5, 2024 · Assigned by apache

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

VendorProductAffectedFixed
Apache Software Foundation Apache Hive 4.0.0-alpha-1 – < 4.0.0 4.0.0

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.hive:hive-exec >= 4.0.0-alpha-1, < 4.0.0-alpha-2 4.0.0-alpha-2 GHSA-6hqr-c69m-r76q

References