AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

Apache HiveGHSA-6hqr-c69m-r76q

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

Apache Hive

CVE-2022-41137 · Published Dec 5, 2024

High8.3
Fix: upgrade to 4.0.0-alpha-2 or later
GitHub advisory

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 versions

PackageAffectedFixed in
org.apache.hive:hive-exec
Maven
>= 4.0.0-alpha-1, < 4.0.0-alpha-24.0.0-alpha-2
Details and references

More Apache Hive advisories

All Apache Hive