CVE-2022-41137

high

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.

References

https://lists.apache.org/thread/jwtr3d9yovf2wo0qlxvkhoxnwxxyzgts

https://issues.apache.org/jira/browse/HIVE-26539

https://github.com/apache/hive/commit/60027bb9c91a93affcfebd9068f064bc1f2a74c9

https://github.com/apache/hive

http://www.openwall.com/lists/oss-security/2024/12/04/2

Details

Source: Mitre, NVD

Published: 2024-12-05

Updated: 2024-12-05

Risk Information

CVSS v2

Base Score: 8.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:C/A:C

Severity: High

CVSS v3

Base Score: 8.3

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H

Severity: High

CVSS v4

Base Score: 7.2

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N

Severity: High

EPSS

EPSS: 0.00528