{"id":"CVE-2022-41137","state":"PUBLISHED","title":"Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore","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.","publishedAt":"2024-12-05T10:01:41.692Z","updatedAt":"2024-12-05T17:02:05.659Z","severity":{"score":8.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache Hive"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Hive","packageName":"org.apache.hive:hive-exec","defaultStatus":"unaffected","versions":[{"version":"4.0.0-alpha-1","status":"affected","lessThan":"4.0.0","versionType":"semver"}],"collectionURL":"https://repo.maven.apache.org/maven2"}],"references":["https://github.com/apache/hive","https://issues.apache.org/jira/browse/HIVE-26539","https://github.com/apache/hive/commit/60027bb9c91a93affcfebd9068f064bc1f2a74c9","https://lists.apache.org/thread/jwtr3d9yovf2wo0qlxvkhoxnwxxyzgts","http://www.openwall.com/lists/oss-security/2024/12/04/2"],"weaknesses":["CWE-502"],"ingestedAt":"2026-10-29T19:50:37.819Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/41xxx/CVE-2022-41137.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-41137","state":"PUBLISHED","datePublished":"2024-12-05T10:01:41.692Z","dateUpdated":"2024-12-05T17:02:05.659Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2022-09-20T14:55:51.817Z"},"containers":{"cna":{"title":"Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Hive","packageName":"org.apache.hive:hive-exec","defaultStatus":"unaffected","versions":[{"version":"4.0.0-alpha-1","status":"affected","lessThan":"4.0.0","versionType":"semver"}],"collectionURL":"https://repo.maven.apache.org/maven2"}],"references":[{"url":"https://github.com/apache/hive","tags":["product"]},{"url":"https://issues.apache.org/jira/browse/HIVE-26539","tags":["issue-tracking"]},{"url":"https://github.com/apache/hive/commit/60027bb9c91a93affcfebd9068f064bc1f2a74c9","tags":["patch"]},{"url":"https://lists.apache.org/thread/jwtr3d9yovf2wo0qlxvkhoxnwxxyzgts","tags":["vendor-advisory"]}],"metrics":[{"other":{"content":{"text":"moderate"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-502","description":"CWE-502 Deserialization of Untrusted Data","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2024-12-05T10:01:41.692Z"},"credits":[{"lang":"en","type":"reporter","value":"Junjie Liao"}],"source":{"defect":["HIVE-26539"],"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2024/12/04/2"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-12-05T10:03:34.734Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"apache","product":"hive","defaultStatus":"unknown","versions":[{"version":"4.0.0-alpha-1","status":"affected","lessThan":"4.0.0","versionType":"semver"}],"cpes":["cpe:2.3:a:apache:hive:*:*:*:*:*:*:*:*"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.3,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-12-05T17:00:40.730056Z","id":"CVE-2022-41137","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-12-05T17:02:05.659Z"}}]}}}