CVE-2022-35975 Improper object validation allows for arbitrary code execution in GitOps Tools Extension for VSCode

Critical 9.0 Published Updated

A specially crafted Flux object allows remote code execution in the VSCode GitOps Tools extension, affecting users managing shared clusters.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-35975?

CVE-2022-35975 is a critical code injection vulnerability in weaveworks vscode-gitops-tools, published on 18 Aug 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The GitOps Tools Extension for VSCode can make it easier to manage Flux objects. A specially crafted Flux object may allow for remote code execution in the machine running the extension, in the context of the user that is running VSCode. Users using the VSCode extension to manage clusters that are shared amongst other users are affected by this issue. The only safe mitigation is to update to the latest version of the extension.

Weakness: CWE-78

Which versions are affected by CVE-2022-35975?

It affects 1 product.

Products include Weave Gitops Tools.

How do I fix CVE-2022-35975?

No fix has been published for CVE-2022-35975 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2022-35975 being exploited?

There is no known exploitation of CVE-2022-35975 in the wild and no public exploit code.

Sources

Also known as GHSA-873x-829r-gxcp.

Is CVE-2022-35975 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free