{"id":"CVE-2022-41137","aliases":["CVE-2022-41137","GHSA-6hqr-c69m-r76q"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore","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.\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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Apache Hive Metastore (HMS) utiliza el método SerializationUtilities#deserializeObjectWithTypeInformation al filtrar y obtener particiones, lo que no es seguro y puede provocar una ejecución de código remoto (RCE), ya que permite la deserialización de datos arbitrarios. En implementaciones reales, la vulnerabilidad solo puede ser explotada por usuarios o clientes autenticados que pudieron establecer una conexión exitosa con Metastore. Desde una perspectiva de API, cualquier código que llame al método no seguro puede ser vulnerable a menos que realice comprobaciones previas adicionales en los argumentos de entrada.","source":"nvd"}],"published":"2024-12-05T10:01:41.692Z","modified":"2026-06-17T05:02:39.887Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS: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,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"4.0.0-alpha-1","fixed":"4.0.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Hive","package":"org.apache.hive:hive-exec","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.0.0-alpha-1","fixed":"4.0.0","status":"affected"}],"vendor":"apache","product":"hive","cpe":"cpe:2.3:a:apache:hive:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0-alpha-1","status":"affected","fixed":"4.0.0-alpha-2"}],"ecosystem":"Maven","package":"org.apache.hive:hive-exec","purl":"pkg:maven/org.apache.hive/hive-exec","source":"ghsa"},{"ranges":[{"status":"affected","version":"4.0.0"}],"vendor":"apache","product":"hive","cpe":"cpe:2.3:a:apache:hive:4.0.0:alpha1:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/apache/hive","tags":["package","product"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://issues.apache.org/jira/browse/HIVE-26539","tags":["issue-tracking","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/apache/hive/commit/60027bb9c91a93affcfebd9068f064bc1f2a74c9","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.apache.org/thread/jwtr3d9yovf2wo0qlxvkhoxnwxxyzgts","tags":["mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2024/12/04/2","tags":["mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41137","tags":["advisory"],"sources":["ghsa"]}],"credits":["Junjie Liao"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-12-05T17:00:40.730Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-41137","url":"https://www.cve.org/CVERecord?id=CVE-2022-41137","licence":"CVE Terms of Use","modified":"2024-12-05T17:02:05.659Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6hqr-c69m-r76q","url":"https://github.com/advisories/GHSA-6hqr-c69m-r76q","licence":"CC-BY-4.0","modified":"2024-12-05T20:12:10.565Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-41137","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41137","licence":"Public domain","modified":"2026-06-17T05:02:39.887Z"}],"updatedAt":"2026-11-25T22:58:20.069Z","epss":{"score":0.01645,"percentile":0.77158,"date":"2026-12-01T12:00:22.000Z"}}