CVE-2022-41137CWE-502

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

High · published December 5, 2024

CVSS v3.1
8.3
EPSS
2%
Percentile
76.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01645 · 76.3th percentile
Weakness
CWE-502 · Deserialization of Untrusted Data
Published
2024-12-05T10:01Z
EPSS history
Timeline
  • 05 DEC 10:01Z
    Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore
    cvelistv5