CVEvulnerability
CVE-2022-41137
8.3 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2024-12-05
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 8.3 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
- Weaknesses
- CWE-502
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.
Affected configurations
• apache hive 4.0.0
Related
Weakness · CWE (1)
- CWE-502 Deserialization of Untrusted Data weakness
References
- https://github.com/apache/hive Product
- https://github.com/apache/hive/commit/60027bb9c91a93affcfebd9068f064bc1f2a74c9 Patch
- https://issues.apache.org/jira/browse/HIVE-26539 Issue Tracking
- https://lists.apache.org/thread/jwtr3d9yovf2wo0qlxvkhoxnwxxyzgts Mailing List, Vendor Advisory
- http://www.openwall.com/lists/oss-security/2024/12/04/2 Mailing List, Third Party Advisory