CVE-2022-41137
HIGH 8.3CVSS 3.1Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore
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.
- Published
- 5 Dec 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-502
- Also known as
- GHSA-6hqr-c69m-r76q
- Sources
- NVDJSONOSV GHSA-6hqr-c69m-r76qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | hivecpe:2.3:a:apache:hive:4.0.0:alpha1:*:*:*:*:*:* |
= 4.0.0 | |
| OSV | Maven | org.apache.hive:hive-exec | >= 4.0.0-alpha-1, < 4.0.0-alpha-2 | 4.0.0-alpha-2 |
References
- https://github.com/apache/hive · Product, PACKAGE
- https://github.com/apache/hive/commit/60027bb9c91a93affcfebd9068f064bc1f2a74c9 · Patch, WEB
- https://issues.apache.org/jira/browse/HIVE-26539 · Issue Tracking, 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
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 5 Dec 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 Dec 2024)