CVE-2022-41137

Source
https://cve.org/CVERecord?id=CVE-2022-41137
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-41137.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-41137
Aliases
Published
2024-12-05T10:01:41.692Z
Modified
2026-07-15T02:06:45.445774534Z
Severity
  • 8.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H CVSS Calculator
Summary
Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-502"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41137.json",
    "cna_assigner": "apache"
}
References

Affected packages

Git / github.com/apache/hive

Affected ranges

Type
GIT
Repo
https://github.com/apache/hive
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "4.0.0-alpha-1"
        },
        {
            "fixed": "4.0.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-41137.json"