CVE-2021-21420: Vulnerability in Stripe for Visual Studio Code < 1.7.3

Published Apr 1, 2021
·
Updated

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.

Affected Software

1 affected component
Stripe Stripe Visual Studio Code<1.7.3

Event History

Apr 1, 2021
CVE Published
via MITRE·09:40 PM
Data Sourced
via MITRE·09:40 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2021-21420?

CVE-2021-21420 has a high severity rating due to the possibility of arbitrary code execution.

2

How do I fix CVE-2021-21420?

To fix CVE-2021-21420, update the Stripe extension for Visual Studio Code to version 1.7.3 or later.

3

What versions are affected by CVE-2021-21420?

CVE-2021-21420 affects all versions of the Stripe extension for Visual Studio Code up to version 1.7.3.

4

What can an attacker achieve by exploiting CVE-2021-21420?

By exploiting CVE-2021-21420, an attacker can run arbitrary code on the user's machine.

5

Is there a workaround for CVE-2021-21420 if I cannot update immediately?

As a temporary workaround for CVE-2021-21420, avoid loading untrusted source code repositories while using the Stripe extension.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203