High

Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore

  • Disclosed: 05.12.2024
  • Updated: 11.10.2026 12:21

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.hive:hive-exec >= 4.0.0-alpha-1, < 4.0.0-alpha-2 4.0.0-alpha-2

References

CVSS score 8.3/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
Weakness (CWE)
CWE-502
Platform
Java / Kotlin (Maven)
Package
org.apache.hive:hive-exec
Disclosed
05.12.2024
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-6hqr-c69m-r76q - CC BY 4.0

Vulnerability history: org.apache.hive:hive-exec

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (10) in the archive
Total entries
10
First → latest
11.2018 01.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 5
  • Medium 2
  • Low 3

Disclosures per year

  1. 2018: 5
  2. 2019: 3
  3. 2020: 0
  4. 2021: 0
  5. 2022: 0
  6. 2023: 0
  7. 2024: 1
  8. 2025: 1
  9. 2026: 0
Severity:
  1. Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore this entry
    High · 8.3 CVE-2022-41137 >= 4.0.0-alpha-1, < 4.0.0-alpha-2 4.0.0-alpha-2
  2. High · 7.3 CVE-2015-1772 >= 1.0.0, < 1.0.1, >= 1.1.0, < 1.1.1 1.0.1, 1.1.1
  3. High · 8.1 CVE-2018-11777 >= 3.0.0, < 3.1.1, < 2.3.4 3.1.1, 2.3.4

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.