{"answers":{"affected":"3 open source packages ship an affected version, including github.com/lima-vm/lima. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-32684 in the wild and no public exploit code.","fix":"Upgrade github.com/lima-vm/lima to 0.16.0 or later.","what":"CVE-2023-32684 is a low-severity path traversal vulnerability in lima-vm lima, published on 30 May 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-32684 and fix it if it is affected.\n\nWhat it is: CVE-2023-32684 is a low-severity path traversal vulnerability in lima-vm lima, published on 30 May 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-32684 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/lima-vm/lima (Go): affected all versions; fixed in 0.16.0\n- github.com/lima-vm/lima (Go): affected all versions; fixed in 0.16.0\n- github.com/lima-vm/lima (Go): affected all versions; fixed in 0.16.0\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-32684/ (Markdown: https://insights.sbomify.com/CVE-2023-32684/index.md)","id":"CVE-2023-32684","markdown":"https://insights.sbomify.com/CVE-2023-32684/index.md","name":"CVE-2023-32684","record":{"aliases":["GHSA-f7qw-jj9c-rpq9","GO-2023-1803"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Lima VM launcher","requires_auth":"none","summary":"A malicious disk image in Lima VMs can read arbitrary host files by exploiting backing file path injection, affecting developers using Lima.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"lima","vendor":"linuxfoundation"}],"cvss":{"score":2.7,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-552","name":"Files or Directories Accessible to External Parties"}],"description":"Lima launches Linux virtual machines, typically on macOS, for running containerd. Prior to version 0.16.0, a virtual machine instance with a malicious disk image could read a single file on the host filesystem, even when no filesystem is mounted from the host. The official templates of Lima and the well-known third party products (Colima, Rancher Desktop, and Finch) are unlikely to be affected by this issue. To exploit this issue, the attacker has to embed the target file path (an absolute or a relative path from the instance directory) in a malicious disk image, as the qcow2 (or vmdk) backing file path string. As Lima refuses to run as the root, it is practically impossible for the attacker to read the entire host disk via `/dev/rdiskN`. Also, practically, the attacker cannot read at least the first 512 bytes (MBR) of the target file. The issue has been patched in Lima in version 0.16.0 by prohibiting using a backing file path in the VM base image.","ecosystems":["Go"],"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":"In Lima, a malicious disk image could read a single file on the host filesystem as a qcow2/vmdk backing file","id":"CVE-2023-32684","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":3,"n_references":3,"next":{"headline":"Clipboard based cross-site scripting (blocked with default CSP) in Kanboard","id":"CVE-2023-32685"},"packages":[{"ecosystem":"Go","fixed":["0.16.0"],"introduced":["0"],"last_affected":[],"package":"github.com/lima-vm/lima","purl":null,"source":"GHSA-f7qw-jj9c-rpq9"},{"ecosystem":"Go","fixed":["0.16.0"],"introduced":["0"],"last_affected":[],"package":"github.com/lima-vm/lima","purl":"pkg:golang/github.com/lima-vm/lima","source":"GHSA-f7qw-jj9c-rpq9"},{"ecosystem":"Go","fixed":["0.16.0"],"introduced":["0"],"last_affected":[],"package":"github.com/lima-vm/lima","purl":"pkg:golang/github.com/lima-vm/lima","source":"GO-2023-1803"}],"prev":{"headline":"URL deny list bypass via oEmbed and image URLs when generating previews in Synapse","id":"CVE-2023-32683"},"products":["lima"],"published":"2023-05-30","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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-10","vendors":["lima-vm"]},"summary":"A malicious disk image in Lima VMs can read arbitrary host files by exploiting backing file path injection, affecting developers using Lima.","url":"https://insights.sbomify.com/CVE-2023-32684/"}