Apache HiveGHSA-6hqr-c69m-r76q
Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore
High8.3CVE-2022-41137 · Published Dec 5, 2024
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| org.apache.hive:hive-exec Maven | >= 4.0.0-alpha-1, < 4.0.0-alpha-2 | 4.0.0-alpha-2 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-502
- Also known as
- CVE-2022-41137
More Apache Hive advisories
All Apache Hive| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jan 292025 | Apache Hive Incorrectly Assigns Permissions for a Critical Resource | Medium5.5 | 4.0.1 |
| Mar 142019 | Improper Authentication in org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service | High7.3 | 1.0.1+1 more |
| Mar 142019 | Apache Hive: improper certificate validation | High7.5 | 1.2.2+1 more |
| Mar 142019 | Apache Hive: information disclosure | Medium4.3 | 2.1.2+2 more |
| Nov 212018 | Improper Authentication in hive:hive-exec | High8.1 | 2.3.4+1 more |
| Nov 212018 | Exposure of Sensitive Information to an Unauthorized Actor in Apache hive | Low3.7 | 2.3.3 |