CVE-2021-21420 Vulnerability in Stripe for Visual Studio Code < 1.7.3
Attackers can execute arbitrary code by tricking users into opening a malicious repository with the Stripe VS Code extension.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-21420?
CVE-2021-21420 is a high-severity code injection vulnerability in vscode-stripe, published on 1 Apr 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
vscode-stripe is an extension for Visual Studio Code. A vulnerability in Stripe for Visual Studio Code extension exists when it loads an untrusted source-code repository containing malicious settings. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. The update addresses the vulnerability by modifying the way the extension validates its settings.
Weakness: CWE-74
Which versions are affected by CVE-2021-21420?
It affects 1 product.
Products include Stripe Stripe.
How do I fix CVE-2021-21420?
No fix has been published for CVE-2021-21420 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-21420 being exploited?
There is no known exploitation of CVE-2021-21420 in the wild and no public exploit code.
Sources
Also known as GHSA-j6x4-4622-8vv3.