Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Apache | Hive | 4.0.0 |
Related Weaknesses (CWE)
References
- https://github.com/apache/hiveProduct
- https://github.com/apache/hive/commit/60027bb9c91a93affcfebd9068f064bc1f2a74c9Patch
- https://issues.apache.org/jira/browse/HIVE-26539Issue Tracking
- https://lists.apache.org/thread/jwtr3d9yovf2wo0qlxvkhoxnwxxyzgtsMailing ListVendor Advisory
- http://www.openwall.com/lists/oss-security/2024/12/04/2Mailing ListThird Party Advisory
FAQ
What is CVE-2022-41137?
CVE-2022-41137 is a vulnerability with a CVSS score of 8.3 (HIGH). Apache Hive Metastore (HMS) uses SerializationUtilities#deserializeObjectWithTypeInformation method when filtering and fetching partitions that is unsafe and can lead to Remote Code Execution (RCE) si...
How severe is CVE-2022-41137?
CVE-2022-41137 has been rated HIGH with a CVSS base score of 8.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-41137?
Check the references section above for vendor advisories and patch information. Affected products include: Apache Hive.