{"cve":"CVE-2022-41137","nvd":{"published":"2024-12-05T10:15:04.450","modified":"2026-06-17T05:02:39.887","status":"Analyzed","description":"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.\n\nIn 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","score":8.3},"cwes":["CWE-502"],"references":["https://github.com/apache/hive","https://github.com/apache/hive/commit/60027bb9c91a93affcfebd9068f064bc1f2a74c9","https://issues.apache.org/jira/browse/HIVE-26539","https://lists.apache.org/thread/jwtr3d9yovf2wo0qlxvkhoxnwxxyzgts","http://www.openwall.com/lists/oss-security/2024/12/04/2"],"products":["apache:hive"],"source":"nvd","synced_at":"2026-10-19T21:57:36.180738747+00:00"},"epss":{"cve":"CVE-2022-41137","score":0.01645,"percentile":0.76449,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6hqr-c69m-r76q","url":"https://osv.dev/vulnerability/GHSA-6hqr-c69m-r76q","summary":"Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore","modified":"2024-12-05T20:12:10.565249Z","packages":[{"ecosystem":"Maven","name":"org.apache.hive:hive-exec","purl":"pkg:maven/org.apache.hive/hive-exec","ranges":[">=4.0.0-alpha-1 <4.0.0-alpha-2"],"fixed":["4.0.0-alpha-2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}