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 Software | Affected Version | How to fix |
---|---|---|
Microsoft Visual Studio Code | <1.57.1 | |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-34529 is a vulnerability in Microsoft Visual Studio Code that allows remote attackers to execute arbitrary code.
CVE-2021-34529 can be exploited by visiting a malicious page or opening a malicious file.
The severity of CVE-2021-34529 is high with a CVSS score of 7.8.
Visual Studio Code versions up to 1.57.1 are affected by CVE-2021-34529.
To fix CVE-2021-34529, update Visual Studio Code to the latest version available.