7.8
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2021-34529: Microsoft Visual Studio Code maven.executable.options Command Injection Remote Code Execution Vulnerability

First published: Tue Jul 13 2021(Updated: )

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Microsoft Visual Studio Code. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the processing of the settings.json file. When parsing the maven.executable.options parameter, the process does not properly validate a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the current user.

Credit: secure@microsoft.com secure@microsoft.com

Affected SoftwareAffected VersionHow to fix
Microsoft Visual Studio Code<1.57.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-34529?

    CVE-2021-34529 is a vulnerability in Microsoft Visual Studio Code that allows remote attackers to execute arbitrary code.

  • How can CVE-2021-34529 be exploited?

    CVE-2021-34529 can be exploited by visiting a malicious page or opening a malicious file.

  • What is the severity of CVE-2021-34529?

    The severity of CVE-2021-34529 is high with a CVSS score of 7.8.

  • Which versions of Visual Studio Code are affected by CVE-2021-34529?

    Visual Studio Code versions up to 1.57.1 are affected by CVE-2021-34529.

  • How can I fix CVE-2021-34529?

    To fix CVE-2021-34529, update Visual Studio Code to the latest version available.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203