GitHub Advisoryadvisory · Maven

GHSA-6hqr-c69m-r76q Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore

HIGH Published 2024-12-05 Modified 2024-12-05 Official page ↗
Aliases
CVE-2022-41137
Ecosystem
Maven
Packages
org.apache.hive:hive-exec
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
Weaknesses
CWE-502
Reviewed
2024-12-05

Affected packages

• Maven org.apache.hive:hive-exec: >= 4.0.0-alpha-1, < 4.0.0-alpha-2 → fixed in 4.0.0-alpha-2

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.

Related

Alias · CVE (1)

  • CVE-2022-41137 Apache Hive Metastore (HMS) uses SerializationUtilities#deserializeObjectWithTypeInformation method when filtering and fetching partitions… vulnerability

Weakness · CWE (1)

  • CWE-502 Deserialization of Untrusted Data weakness

References