# CVE-2022-41137: Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore

- Priority: **Routine**
- Reason: Not severe (CVSS 8.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-12-05 · Modified: 2024-12-05
- Aliases: GHSA-6hqr-c69m-r76q
- Record: https://cvemate.com/vulnerability/CVE-2022-41137 · JSON: https://cvemate.com/vulnerability/CVE-2022-41137/json

## Description

```text
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.
```

## Signals

- CVSS: 8.3 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
- EPSS: 1.645%, percentile 77.279%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache hive: ≥ 4.0.0-alpha-1, \< 4.0.0
- apache hive: 4.0.0:alpha1
- org.apache.hive hive-exec (Maven): ≥ 4.0.0-alpha-1, \< 4.0.0-alpha-2

## References

- <https://github.com/apache/hive>
- <https://issues.apache.org/jira/browse/HIVE-26539>
- <https://github.com/apache/hive/commit/60027bb9c91a93affcfebd9068f064bc1f2a74c9>
- <https://lists.apache.org/thread/jwtr3d9yovf2wo0qlxvkhoxnwxxyzgts>
- <http://www.openwall.com/lists/oss-security/2024/12/04/2>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-41137>

---

Data as of 2026-12-05T04:21:02.216Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
