Live threats

All CVEs / Apache

CVE-2022-41137Apache Hive

High 8.3

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Hive.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
apachehive4.0.0

Official sources

References

Links published by the sources. Open them with care.