CVE-2021-22195 Code injection in gitlab-vscode-extension

High 8.6 Published Updated

Attackers can execute arbitrary code on user systems via the GitLab VS Code extension, requiring users to update the extension.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-22195?

CVE-2021-22195 is a high-severity code injection vulnerability in gitlab-vscode-extension, published on 1 Apr 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Client side code execution in gitlab-vscode-extension v3.15.0 and earlier allows attacker to execute code on user system

Weakness: CWE-427

Which versions are affected by CVE-2021-22195?

It affects 1 product.

Products include Gitlab Gitlab-Vscode-Extension.

How do I fix CVE-2021-22195?

No fix has been published for CVE-2021-22195 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-2021-22195 being exploited?

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

Sources

Also known as GHSA-8894-6pjp-6wpq.

Is CVE-2021-22195 in your software?

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

Check your SBOMs for free