NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

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

highCVSS 4.0 7.2 · 3.1 8.3GHSA-6hqr-c69m-r76q

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.

Published Dec 5, 2024

Affected packages

org.apache.hive:hive-exec

Ecosystem
Maven
Affected
= 4.0.0-alpha-1
Fixed in
4.0.0-alpha-2
Check
mvn dependency:tree -Dincludes=org.apache.hive:hive-exec

Advisory details

From the GitHub Advisory Database (CC BY 4.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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries