{"answers":{"affected":"5 open source packages ship an affected version, including h2o and ai.h2o:h2o-core. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6854 exists.","fix":"No fix has been published for CVE-2024-6854 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-6854 is a high-severity path traversal vulnerability in h2oai/h2o-3, published on 20 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-6854 and fix it if it is affected.\n\nWhat it is: CVE-2024-6854 is a high-severity path traversal vulnerability in h2oai/h2o-3, published on 20 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6854 exists.\n\nAffected packages and fixed versions:\n- h2o (PyPI): affected from 3.32.1.1 up to 3.46.0; no fix listed\n- h2o (PyPI): affected from 3.32.1.1 up to 3.46.0; no fix listed\n- h2o (PyPI): affected from 3.32.1.1 up to 3.46.0; no fix listed\n- ai.h2o:h2o-core (Maven): affected from 3.32.1.1 up to 3.46.0; no fix listed\n- ai.h2o:h2o-core (Maven): affected from 3.32.1.1 up to 3.46.0; 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-6854/ (Markdown: https://insights.sbomify.com/CVE-2024-6854/index.md)","id":"CVE-2024-6854","markdown":"https://insights.sbomify.com/CVE-2024-6854/index.md","name":"CVE-2024-6854","record":{"aliases":["GHSA-47f6-5p7h-5f3h","PYSEC-2026-1436"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"H2O-3 machine learning library","requires_auth":"low_privilege","summary":"An attacker can overwrite arbitrary files on the server by exploiting unrestricted export locations in the model export endpoint.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntr_ai","cpe":[{"product":"h2o","vendor":"h2o"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","version":"3.0"},"cwes":[{"id":"CWE-36","name":"Absolute Path Traversal"}],"description":"In h2oai/h2o-3 version 3.46.0, the endpoint for exporting models does not restrict the export location, allowing an attacker to export a model to any file in the server's file structure, thereby overwriting it. This vulnerability can be exploited to overwrite any file on the target server with a trained model file, although the content of the overwrite is not controllable by the attacker.","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":"Arbitrary File Overwrite in h2oai/h2o-3","id":"CVE-2024-6854","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":5,"n_references":1,"next":{"headline":"WP MultiTasking \u003c= 0.1.12 - Exit Popup Update via CSRF","id":"CVE-2024-6855"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["3.32.1.1"],"last_affected":["3.46.0"],"package":"ai.h2o:h2o-core","purl":null,"source":"GHSA-47f6-5p7h-5f3h"},{"ecosystem":"Maven","fixed":[],"introduced":["3.32.1.1"],"last_affected":["3.46.0"],"package":"ai.h2o:h2o-core","purl":"pkg:maven/ai.h2o/h2o-core","source":"GHSA-47f6-5p7h-5f3h"},{"ecosystem":"PyPI","fixed":[],"introduced":["3.32.1.1"],"last_affected":["3.46.0"],"package":"h2o","purl":null,"source":"GHSA-47f6-5p7h-5f3h"},{"ecosystem":"PyPI","fixed":[],"introduced":["3.32.1.1"],"last_affected":["3.46.0"],"package":"h2o","purl":"pkg:pypi/h2o","source":"GHSA-47f6-5p7h-5f3h"},{"ecosystem":"PyPI","fixed":[],"introduced":["3.32.1.1"],"last_affected":["3.46.0"],"package":"h2o","purl":"pkg:pypi/h2o","source":"PYSEC-2026-1436"}],"prev":{"headline":"WP MultiTasking \u003c= 0.1.12 - Welcome Popup Update via CSRF","id":"CVE-2024-6853"},"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-20","vendors":["h2oai"]},"summary":"An attacker can overwrite arbitrary files on the server by exploiting unrestricted export locations in the model export endpoint.","url":"https://insights.sbomify.com/CVE-2024-6854/"}