CVE-2022-41137
published high CVSS 3.1 · 8.3Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.hive:hive-execApache Hive · 4.0.0-alpha-1 to < 4.0.0 · Other versions: unaffected | Affected | Not stated | apache |
| apache | — | hive4.0.0-alpha-1 to < 4.0.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.3 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Hive | 4.0.0-alpha-1 to < 4.0.0 (affected · semver)Default: unaffected | apache · cna |
| apache | hive | 4.0.0-alpha-1 to < 4.0.0 (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-502 CWE-502 Deserialization of Untrusted Data
References
5Provider assertions
3apache · cna
Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4a959151cab0ffc195dd9ad4b5bc0a49f786dfc5c9817998f9d668f4787d25a7
- Ingested
- 23 Sep 2026, 08:02:36 UTC
- Source record
- Official CVE record