{"answers":{"affected":"2 open source packages ship an affected version, including ml.combust.mleap:mleap-runtime_2.12. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-5245 in the wild and no public exploit code.","fix":"Upgrade ml.combust.mleap:mleap-runtime_2.12 to 0.23.1 or later.","what":"CVE-2023-5245 is a high-severity path traversal vulnerability in combust:mleap, published on 15 Nov 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-5245 and fix it if it is affected.\n\nWhat it is: CVE-2023-5245 is a high-severity path traversal vulnerability in combust:mleap, published on 15 Nov 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-5245 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ml.combust.mleap:mleap-runtime_2.12 (Maven): affected all versions; fixed in 0.23.1\n- ml.combust.mleap:mleap-runtime_2.12 (Maven): affected all versions; fixed in 0.23.1\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-5245/ (Markdown: https://insights.sbomify.com/CVE-2023-5245/index.md)","id":"CVE-2023-5245","markdown":"https://insights.sbomify.com/CVE-2023-5245/index.md","name":"CVE-2023-5245","record":{"aliases":["GHSA-897x-xvj8-42rq"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"MLeap ML library","requires_auth":"low_privilege","summary":"Attackers can exploit path traversal in MLeap's model loading to create arbitrary files, potentially leading to remote code execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"JFROG","cpe":[{"product":"mleap","vendor":"combust"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"FileUtil.extract() enumerates all zip file entries and extracts each file without validating whether file paths in the archive are outside the intended directory.\n\nWhen creating an instance of TensorflowModel using the saved_model format and an exported tensorflow model, the apply() function invokes the vulnerable implementation of FileUtil.extract().\n\nArbitrary file creation can directly lead to code execution","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Zip slip in mleap","id":"CVE-2023-5245","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"Auth bypass in FX0-GENT00000","id":"CVE-2023-5246"},"packages":[{"ecosystem":"Maven","fixed":["0.23.1"],"introduced":["0"],"last_affected":[],"package":"ml.combust.mleap:mleap-runtime_2.12","purl":null,"source":"GHSA-897x-xvj8-42rq"},{"ecosystem":"Maven","fixed":["0.23.1"],"introduced":["0"],"last_affected":[],"package":"ml.combust.mleap:mleap-runtime_2.12","purl":"pkg:maven/ml.combust.mleap/mleap-runtime_2.12","source":"GHSA-897x-xvj8-42rq"}],"prev":{"headline":"Cross-site Scripting (XSS) - Reflected in microweber/microweber","id":"CVE-2023-5244"},"products":["combust:mleap"],"published":"2023-11-15","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":"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["combust"]},"summary":"Attackers can exploit path traversal in MLeap's model loading to create arbitrary files, potentially leading to remote code execution.","url":"https://insights.sbomify.com/CVE-2023-5245/"}