High severityNVD Advisory· Published Dec 5, 2024· Updated Dec 5, 2024
Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore
CVE-2022-41137
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.hive:hive-execMaven | >= 4.0.0-alpha-1, < 4.0.0-alpha-2 | 4.0.0-alpha-2 |
Affected products
2Patches
Vulnerability mechanics
References
6- github.com/apache/hive/commit/60027bb9c91a93affcfebd9068f064bc1f2a74c9ghsapatchWEB
- github.com/advisories/GHSA-6hqr-c69m-r76qghsaADVISORY
- lists.apache.org/thread/jwtr3d9yovf2wo0qlxvkhoxnwxxyzgtsghsavendor-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-41137ghsaADVISORY
- www.openwall.com/lists/oss-security/2024/12/04/2ghsaWEB
- issues.apache.org/jira/browse/HIVE-26539ghsaissue-trackingWEB
News mentions
0No linked articles in our index yet.