Skip to main content
← All vulnerabilities
CVE-2022-41137GHSA-6HQR-C69M-R76Q

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.0.0, 4.0.0-alpha-2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • org.apache.hive:hive-exec

    From 4.0.0-alpha-1 · fixed in 4.0.0

  • org.apache.hive:hive-execMaven

    From 4.0.0-alpha-1 · fixed in 4.0.0-alpha-2

References 4

GitHub · apache/hive

issues.apache.org

lists.apache.org