CVE-2022-41137
Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore
- Published
- Updated
- Reserved
- 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.
Timeline
ID reserved
By apache
- 2 years later
· 2 years later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High8.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High8.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.6% · top 23% of all CVEs (8 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.3.
Weakness
Affected products
Apache Software Foundation · Apache Hive
- affected 4.0.0-alpha-1 – < 4.0.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.hive:hive-execGHSA-6hqr-c69m-r76q (opens in a new tab)
References (5)
- https://github.com/apache/hive (opens in a new tab)product
- https://issues.apache.org/jira/browse/HIVE-26539 (opens in a new tab)issue-tracking
- https://github.com/apache/hive/commit/60027bb9c91a93affcfebd9068f064bc1f2a74c9 (opens in a new tab)patch
- https://lists.apache.org/thread/jwtr3d9yovf2wo0qlxvkhoxnwxxyzgts (opens in a new tab)vendor-advisory
- http://www.openwall.com/lists/oss-security/2024/12/04/2 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-6hqr-c69m-r76q (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-41137)Record last updated .