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

- Severity: High 8.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.65%, higher than 77% of CVEs (2026-12-01)
- Published: 2024-12-05T10:01:41.692Z
- Modified: 2026-06-17T05:02:39.887Z
- Also known as: GHSA-6hqr-c69m-r76q
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- org.apache.hive:hive-exec: from 4.0.0-alpha-1 before 4.0.0
- apache hive: from 4.0.0-alpha-1 before 4.0.0; 4.0.0
- org.apache.hive:hive-exec (Maven): from 4.0.0-alpha-1 before 4.0.0-alpha-2

## Every score

- CISA-ADP: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H`
- GitHub: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/apache/hive> (package, product)
- <https://issues.apache.org/jira/browse/HIVE-26539> (issue-tracking, web)
- <https://github.com/apache/hive/commit/60027bb9c91a93affcfebd9068f064bc1f2a74c9> (patch, web)
- <https://lists.apache.org/thread/jwtr3d9yovf2wo0qlxvkhoxnwxxyzgts> (mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2024/12/04/2> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-41137> (advisory)

## Sources

- CVE List: [CVE-2022-41137](https://www.cve.org/CVERecord?id=CVE-2022-41137), CVE Terms of Use, modified 2024-12-05
- GitHub Advisory Database: [GHSA-6hqr-c69m-r76q](https://github.com/advisories/GHSA-6hqr-c69m-r76q), CC-BY-4.0, modified 2024-12-05
- NVD: [CVE-2022-41137](https://nvd.nist.gov/vuln/detail/CVE-2022-41137), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-41137 · Whole record: https://cve.day/CVE-2022-41137.json · Rebuilt by cve.day 2026-11-25T22:58:20.069Z
