CVE-2022-41137: Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore

Published Dec 4, 2024
·
Updated

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

2 affected componentsFixes available
maven/org.apache.hive:hive-exec=4.0.0-alpha-1
4.0.0-alpha-2
Apache Hive=4.0.0-alpha1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.hive:hive-exec to a version that resolves this vulnerability.

    Fixed in 4.0.0-alpha-2

Event History

Dec 5, 2024
CVE Published
via MITRE·10:01 AM
Data Sourced
via MITRE·10:01 AM
DescriptionWeakness
Data Sourced
via OSV·10:01 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·12:31 PM

Frequently Asked Questions

1

What is the severity of CVE-2022-41137?

CVE-2022-41137 has a high severity rating due to its potential for Remote Code Execution (RCE) vulnerabilities.

2

How do I fix CVE-2022-41137?

To mitigate CVE-2022-41137, upgrade to Apache Hive version 4.0.0-alpha-2 or later, which addresses the deserialization issue.

3

What software is affected by CVE-2022-41137?

CVE-2022-41137 affects Apache Hive versions 4.0.0-alpha-1 and prior.

4

What kind of attack can be executed due to CVE-2022-41137?

CVE-2022-41137 can lead to Remote Code Execution (RCE), allowing attackers to execute arbitrary code on the vulnerable system.

5

Is there a workaround for CVE-2022-41137?

There are no official workarounds recommended for CVE-2022-41137; updating to a fixed version is the best course of action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203