{"answers":{"affected":"5 open source packages ship an affected version, including h2o and ai.h2o:h2o-ext-xgboost. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-10572 exists.","fix":"No fix has been published for CVE-2024-10572 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-10572 is a high-severity code injection vulnerability in h2oai/h2o-3, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-10572 and fix it if it is affected.\n\nWhat it is: CVE-2024-10572 is a high-severity code injection vulnerability in h2oai/h2o-3, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-10572 exists.\n\nAffected packages and fixed versions:\n- h2o (PyPI): affected from 3.34.0.1 up to 3.46.0.1; no fix listed\n- h2o (PyPI): affected from 3.34.0.1 up to 3.46.0.1; no fix listed\n- h2o (PyPI): affected from 3.34.0.1 up to 3.46.0.1; no fix listed\n- ai.h2o:h2o-ext-xgboost (Maven): affected from 3.34.0.1 up to 3.46.0.1; no fix listed\n- ai.h2o:h2o-ext-xgboost (Maven): affected from 3.34.0.1 up to 3.46.0.1; 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-10572/ (Markdown: https://insights.sbomify.com/CVE-2024-10572/index.md)","id":"CVE-2024-10572","markdown":"https://insights.sbomify.com/CVE-2024-10572/index.md","name":"CVE-2024-10572","record":{"aliases":["GHSA-wjpv-64v2-2qpq","PYSEC-2026-1444"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"H2O AI platform","requires_auth":"none","summary":"Attackers can exploit the run_tool command to shut down the server and write arbitrary files, causing denial of service and data modification.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntr_ai","cpe":[{"product":"h2o","vendor":"h2o"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"In h2oai/h2o-3 version 3.46.0.1, the `run_tool` command exposes classes in the `water.tools` package through the `ast` parser. This includes the `XGBoostLibExtractTool` class, which can be exploited to shut down the server and write large files to arbitrary directories, leading to a denial of service.","ecosystems":["Maven","PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Denial of Service and Arbitrary File Write in h2oai/h2o-3","id":"CVE-2024-10572","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":5,"n_references":1,"next":{"headline":"Mpg123: buffer overflow when writing decoded pcm samples","id":"CVE-2024-10573"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["3.34.0.1"],"last_affected":["3.46.0.1"],"package":"ai.h2o:h2o-ext-xgboost","purl":null,"source":"GHSA-wjpv-64v2-2qpq"},{"ecosystem":"Maven","fixed":[],"introduced":["3.34.0.1"],"last_affected":["3.46.0.1"],"package":"ai.h2o:h2o-ext-xgboost","purl":"pkg:maven/ai.h2o/h2o-ext-xgboost","source":"GHSA-wjpv-64v2-2qpq"},{"ecosystem":"PyPI","fixed":[],"introduced":["3.34.0.1"],"last_affected":["3.46.0.1"],"package":"h2o","purl":null,"source":"GHSA-wjpv-64v2-2qpq"},{"ecosystem":"PyPI","fixed":[],"introduced":["3.34.0.1"],"last_affected":["3.46.0.1"],"package":"h2o","purl":"pkg:pypi/h2o","source":"GHSA-wjpv-64v2-2qpq"},{"ecosystem":"PyPI","fixed":[],"introduced":["3.34.0.1"],"last_affected":["3.46.0.1"],"package":"h2o","purl":"pkg:pypi/h2o","source":"PYSEC-2026-1444"}],"prev":{"headline":"Chartify – WordPress Chart Plugin \u003c= 2.9.5 - Unauthenticated Local File Inclusion via source","id":"CVE-2024-10571"},"products":["h2oai/h2o-3"],"published":"2025-03-20","related":[{"cvss_score":10,"headline":"H2O Remote Code Execution via POJO Model Import","id":"CVE-2023-6016","kev_date_added":null,"published":"2023-11-16"},{"cvss_score":9.8,"headline":"Deserialization Vulnerability in h2oai/h2o-3","id":"CVE-2025-6544","kev_date_added":null,"published":"2025-09-21"},{"cvss_score":9.8,"headline":"Jdbc Deserialization in h2oai/h2o-3","id":"CVE-2024-10553","kev_date_added":null,"published":"2025-03-20"},{"cvss_score":9.3,"headline":"External Control of File Name or Path in h2oai/h2o-3","id":"CVE-2023-6569","kev_date_added":null,"published":"2023-12-14"},{"cvss_score":9.3,"headline":"H2O Local File Include","id":"CVE-2023-6013","kev_date_added":null,"published":"2023-11-16"},{"cvss_score":9.3,"headline":"Local File Inclusion in h2oai/h2o-3","id":"CVE-2023-6038","kev_date_added":null,"published":"2023-11-16"},{"cvss_score":9.1,"headline":"H2O.ai H2O vulnerable to deserialization attacks via a JDBC Connection URL","id":"CVE-2024-45758","kev_date_added":null,"published":"2024-09-06"}],"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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-15","vendors":["h2oai"]},"summary":"Attackers can exploit the run_tool command to shut down the server and write arbitrary files, causing denial of service and data modification.","url":"https://insights.sbomify.com/CVE-2024-10572/"}