CVE-2022-41137
Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore
- State
- Published
- Severity
- 8.3 High
- Published
- Dec 5, 2024
- Updated
- Dec 5, 2024
- Reserved
- Sep 20, 2022
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.3 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H | CISA-ADP |
Weaknesses
- CWE-502 Deserialization of Untrusted Data
Affected Products
| Product | Versions |
|---|---|
Apache HiveApache Software Foundation |
|
References
- https://github.com/apache/hiveproduct
- https://issues.apache.org/jira/browse/HIVE-26539issue-tracking
- https://github.com/apache/hive/commit/60027bb9c91a93affcfebd9068f064bc1f2a74c9patch
- https://lists.apache.org/thread/jwtr3d9yovf2wo0qlxvkhoxnwxxyzgtsvendor-advisory
- http://www.openwall.com/lists/oss-security/2024/12/04/2
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.