CVE-2022-41137
highpriority · track · 1EPSS 0.016 · 76 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
- Maven org.apache.hive:hive-exec4.0.0-alpha-1 → 4.0.0-alpha-2osvUSpkg:maven/org.apache.hive/hive-exec
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-6hqr-c69m-r76qApache Hive: Deserialization of untrusted data when fetching partitions from the Metastore2024-12-05ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2024/12/04/2cnnvd
- https://github.com/apache/hivecnnvd
- https://github.com/apache/hive/commit/60027bb9c91a93affcfebd9068f064bc1f2a74c9cnnvd
- https://issues.apache.org/jira/browse/HIVE-26539cnnvd
- https://lists.apache.org/thread/jwtr3d9yovf2wo0qlxvkhoxnwxxyzgtscnnvd
- https://github.com/apache/hiveenisa_euvd
- https://github.com/apache/hive/commit/60027bb9c91a93affcfebd9068f064bc1f2a74c9enisa_euvd
- https://issues.apache.org/jira/browse/HIVE-26539enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan