{"answers":{"affected":"2 open source packages ship an affected version, including ai.h2o:h2o-core.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6960 exists.","fix":"No fix has been published for CVE-2024-6960 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-6960 is a high-severity unsafe deserialization vulnerability in ai.h2o:h2o-core, published on 21 Jul 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-6960 and fix it if it is affected.\n\nWhat it is: CVE-2024-6960 is a high-severity unsafe deserialization vulnerability in ai.h2o:h2o-core, published on 21 Jul 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6960 exists.\n\nAffected packages and fixed versions:\n- ai.h2o:h2o-core (Maven): affected all versions up to 3.46.0.4; no fix listed\n- ai.h2o:h2o-core (Maven): affected all versions up to 3.46.0.4; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-6960/ (Markdown: https://insights.sbomify.com/CVE-2024-6960/index.md)","id":"CVE-2024-6960","markdown":"https://insights.sbomify.com/CVE-2024-6960/index.md","name":"CVE-2024-6960","record":{"aliases":["GHSA-w36w-948j-xhfw"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"H2O machine learning platform","requires_auth":"none","summary":"Attackers can achieve arbitrary code execution by importing crafted ML models due to unsafe Java deserialization in the H2O platform.","user_interaction":"required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"JFROG","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"The H2O machine learning platform uses \"Iced\" classes as the primary means of moving Java Objects around the cluster. The Iced format supports inclusion of serialized Java objects. When a model is deserialized, any class is allowed to be deserialized (no class whitelist). An attacker can construct a crafted Iced model that uses Java gadgets and leads to arbitrary code execution when imported to the H2O platform.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"H2O deserializes ML models without filtering, potentially allowing execution of malicious code","id":"CVE-2024-6960","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"deserialization","year":"2024"},"n_packages":2,"n_references":1,"next":{"headline":"XXE in Guardrails AI when consuming RAIL documents","id":"CVE-2024-6961"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["3.46.0.4"],"package":"ai.h2o:h2o-core","purl":null,"source":"GHSA-w36w-948j-xhfw"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["3.46.0.4"],"package":"ai.h2o:h2o-core","purl":"pkg:maven/ai.h2o/h2o-core","source":"GHSA-w36w-948j-xhfw"}],"prev":{"headline":"Denial of Service (DOS) in multipart boundary while uploading file in parisneo/lollms-webui","id":"CVE-2024-6959"},"products":[],"published":"2024-07-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-11-25","vendors":[]},"summary":"Attackers can achieve arbitrary code execution by importing crafted ML models due to unsafe Java deserialization in the H2O platform.","url":"https://insights.sbomify.com/CVE-2024-6960/"}