CVE-2022-41137Apache Hive
High 8.3
Follow: this CVE · Apache · Apache Hive We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 8.3
- EPSS
- 3.3% probability of exploitation in 30 days · percentile 89
- Auth required
- Yes
- Published
- Dec 5, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Hive.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.hive:hive-exec |
≥ 4.0.0-alpha-1 < 4.0.0-alpha-2 |
4.0.0-alpha-2 |
— |
Per OSV / GitHub Advisories (GHSA-6hqr-c69m-r76q). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | hive | 4.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Patch
- issues.apache.org Issue Tracking
- lists.apache.org Mailing List Vendor Advisory
- www.openwall.com Mailing List Third Party Advisory