{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12065 exists.","fix":"No fix has been published for CVE-2024-12065 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-12065 is a high-severity path traversal vulnerability in haotian-liu/llava, 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-12065 and fix it if it is affected.\n\nWhat it is: CVE-2024-12065 is a high-severity path traversal vulnerability in haotian-liu/llava, 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-12065 exists.\n\nAffected product: haotian-liu/llava. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-12065/ (Markdown: https://insights.sbomify.com/CVE-2024-12065/index.md)","id":"CVE-2024-12065","markdown":"https://insights.sbomify.com/CVE-2024-12065/index.md","name":"CVE-2024-12065","record":{"aliases":["GHSA-q36w-fgp3-q2gw"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"LLaVA web UI","requires_auth":"none","summary":"Attackers can read arbitrary system files via crafted requests to the LLaVA Gradio web UI due to improper input validation.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntr_ai","cpe":[{"product":"llava","vendor":"hliu"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A local file inclusion vulnerability exists in haotian-liu/llava at commit c121f04. This vulnerability allows an attacker to access any file on the system by sending multiple crafted requests to the server. The issue is due to improper input validation in the gradio web UI component.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"Local File Inclusion in haotian-liu/llava","id":"CVE-2024-12065","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"SMSA Shipping(official) \u003c= 2.3 - Authenticated (Subscriber+) Arbitrary File Deletion","id":"CVE-2024-12066"},"packages":[],"prev":{"headline":"** REJECT ** DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2024-12064"},"products":["haotian-liu/llava"],"published":"2025-03-20","related":[{"cvss_score":9.3,"headline":"SSRF in POST /worker_generate_stream API endpoint in haotian-liu/llava","id":"CVE-2024-9309","kev_date_added":null,"published":"2025-03-20"},{"cvss_score":7.5,"headline":"Denial of Service in haotian-liu/llava","id":"CVE-2024-10225","kev_date_added":null,"published":"2025-03-20"},{"cvss_score":7.5,"headline":"Server-Side Request Forgery in haotian-liu/llava","id":"CVE-2024-12068","kev_date_added":null,"published":"2025-03-20"},{"cvss_score":6.1,"headline":"Open Redirect in haotian-liu/llava","id":"CVE-2024-9308","kev_date_added":null,"published":"2025-03-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":["haotian-liu"]},"summary":"Attackers can read arbitrary system files via crafted requests to the LLaVA Gradio web UI due to improper input validation.","url":"https://insights.sbomify.com/CVE-2024-12065/"}