{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-9145 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-9145 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-9145 is a high-severity command injection vulnerability in Wiz Code Visual Studio Code extension, published on 1 Oct 2024. 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-2024-9145 and fix it if it is affected.\n\nWhat it is: CVE-2024-9145 is a high-severity command injection vulnerability in Wiz Code Visual Studio Code extension, published on 1 Oct 2024. 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-2024-9145 in the wild and no public exploit code.\n\nAffected product: Wiz Code Visual Studio Code extension. 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-9145/ (Markdown: https://insights.sbomify.com/CVE-2024-9145/index.md)","id":"CVE-2024-9145","markdown":"https://insights.sbomify.com/CVE-2024-9145/index.md","name":"CVE-2024-9145","record":{"aliases":["GHSA-5grv-4qg8-xxfq"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"VS Code extension","requires_auth":"none","summary":"Attackers can execute arbitrary commands if a user scans a malicious Dockerfile in a trusted folder using the Wiz Code VS Code extension.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wiz","cpe":[],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"Wiz Code Visual Studio Code extension in versions 1.0.0 up to 1.5.3 and Wiz (legacy) Visual Studio Code extension in versions 0.13.0 up to 0.17.8 are vulnerable to local command injection if the user opens a maliciously crafted Dockerfile located in a path that has been marked as a \"trusted folder\" within Visual Studio Code, and initiates a manual scan of the file.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Local command injection in Wiz Code Visual Studio Code extension","id":"CVE-2024-9145","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2024"},"n_packages":0,"n_references":3,"next":{"headline":"WordPress CSS JS Files plugin \u003c= 1.5.0 - Directory Traversal to File Read vulnerability","id":"CVE-2024-9146"},"packages":[],"prev":{"headline":"Low-level invalid GF(2^m) parameters lead to OOB memory access","id":"CVE-2024-9143"},"products":["Wiz Code Visual Studio Code extension"],"published":"2024-10-01","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"2024-11-21","vendors":["Wiz"]},"summary":"Attackers can execute arbitrary commands if a user scans a malicious Dockerfile in a trusted folder using the Wiz Code VS Code extension.","url":"https://insights.sbomify.com/CVE-2024-9145/"}