Read the docs
TI-2022-19656 Aliases CVE-2022-41137GHSA-6hqr-c69m-r76q

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

Priority MEDIUM 41CWE-502Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
Low · High · High
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-502.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01645 76th percentileScored 2026-11-07
Fix Partial Apache Hive (Apache Software Foundation): 4.0.0org.apache.hive:hive-exec (Maven): 4.0.0-alpha-2Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Hive4.0.0-alpha-1 to before 4.0.04.0.0Patch availableCNA
—org.apache.hive:hive-exec (Maven)4.0.0-alpha-1 to before 4.0.0-alpha-24.0.0-alpha-2Patch availableGHSA-6hqr-c69m-r76q
  • Apache Hive VendorApache Affected 4.0.0-alpha-1 to before 4.0.0 Fixed in 4.0.0 Patch available CNA
  • org.apache.hive:hive-exec (Maven) Vendor— Affected 4.0.0-alpha-1 to before 4.0.0-alpha-2 Fixed in 4.0.0-alpha-2 Patch available GHSA-6hqr-c69m-r76q

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:hive:4.0.0:alpha1:*:*:*:*:*:*4.0.0 alpha1VulnerableApache
  • cpe:2.3:a:apache:hive:4.0.0:alpha1:*:*:*:*:*:* Versions 4.0.0 alpha1 Vulnerable ·Apache

Remediation

  • Fix · CNA Apache Hive (Apache Software Foundation) Fixed in 4.0.0
  • Fix · GHSA-6hqr-c69m-r76q org.apache.hive:hive-exec (Maven) Fixed in 4.0.0-alpha-2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Fuse 7AffectedNo fix planned: Out of support scope
Not affected: 2 products
  • Red Hat Integration Camel K 1
  • Red Hat JBoss Data Grid 7

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-41137
  2. 2026-10-03 Alias added: GHSA-6hqr-c69m-r76q

References

  • TI-2018-15196 Jodd before 5.0.4 performs Deserialization of Untrusted JSON Data when setClassMetadataName is set. CVSS 3.1CRITICAL 9.8
  • TI-2026-40376 Apache Hive: SSRF vulnerability in Hive Avro Serde due to Insufficient input validation on avro.schema.url CVSS 3.1CRITICAL 9.1
  • TI-2018-01187 SQL injection in Apache Hive CVSS 3.0CRITICAL 9.1
  • TI-2026-36749 Apache Hive: SQL Injection vulnerability in HiveMetaStore partition-name direct-SQL paths CVSS 3.1CRITICAL 9.8
  • TI-2015-06259 The authorization framework in Apache Hive 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0 and 1.2.1… CVSS 3.0HIGH 8.3
  • TI-2020-10925 Uncontrolled resource consumption in Apache Thrift CVSS 3.1HIGH 7.5
See all 22 →

Sources