{"answers":{"affected":"2 open source packages ship an affected version, including ai.h2o:h2o-core. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-6038 exists.","fix":"No fix has been published for CVE-2023-6038 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-6038 is a critical path traversal vulnerability in h2oai/h2o-3, published on 16 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-6038 and fix it if it is affected.\n\nWhat it is: CVE-2023-6038 is a critical path traversal vulnerability in h2oai/h2o-3, published on 16 Nov 2023. 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-2023-6038 exists.\n\nAffected packages and fixed versions:\n- ai.h2o:h2o-core (Maven): affected all versions up to 3.40.0.4; no fix listed\n- ai.h2o:h2o-core (Maven): affected all versions up to 3.40.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-2023-6038/ (Markdown: https://insights.sbomify.com/CVE-2023-6038/index.md)","id":"CVE-2023-6038","markdown":"https://insights.sbomify.com/CVE-2023-6038/index.md","name":"CVE-2023-6038","record":{"aliases":["GHSA-6mv8-95x5-xcq9"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"H2O-3 machine learning library","requires_auth":"none","summary":"Unauthenticated attackers can read arbitrary files on the server via Local File Inclusion in the h2o-3 REST API.","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":9.3,"severity":"critical","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"description":"A Local File Inclusion (LFI) vulnerability exists in the h2o-3 REST API, allowing unauthenticated remote attackers to read arbitrary files on the server with the permissions of the user running the h2o-3 instance. This issue affects the default installation and does not require user interaction. The vulnerability can be exploited by making specific GET or POST requests to the ImportFiles and ParseSetup endpoints, respectively. This issue was identified in version 3.40.0.4 of h2o-3.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-6038.yaml","stars":null,"title":"H2O ImportFiles - Local File Inclusion"}],"tier":"weaponised"},"has_fix":false,"headline":"Local File Inclusion in h2oai/h2o-3","id":"CVE-2023-6038","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":2,"n_references":1,"next":{"headline":"Kernel: use-after-free in drivers/net/usb/lan78xx.c in lan78xx_disconnect","id":"CVE-2023-6039"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["3.40.0.4"],"package":"ai.h2o:h2o-core","purl":null,"source":"GHSA-6mv8-95x5-xcq9"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["3.40.0.4"],"package":"ai.h2o:h2o-core","purl":"pkg:maven/ai.h2o/h2o-core","source":"GHSA-6mv8-95x5-xcq9"}],"prev":{"headline":"WP TripAdvisor Review Slider \u003c 11.9 - Admin+ Stored XSS","id":"CVE-2023-6037"},"products":["h2oai/h2o-3"],"published":"2023-11-16","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.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":"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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-29","vendors":["h2oai"]},"summary":"Unauthenticated attackers can read arbitrary files on the server via Local File Inclusion in the h2o-3 REST API.","url":"https://insights.sbomify.com/CVE-2023-6038/"}