Security Update for Microsoft Visual Studio Code (March 2021)

high Nessus Plugin ID 147727

Synopsis

The remote host has an application installed that is missing a security update.

Description

An arbitrary code execution vulnerability exists in Microsoft Visual Studio Code. An unauthenticated, local attacker can exploit this by persuading a victim to open specially-crafted content which could exploit this vulnerability to execute arbitrary code on the system with privileges of the victim.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade Visual Studio Code to 1.54.1 or later.

See Also

http://www.nessus.org/u?36f42535

https://code.visualstudio.com/updates/v1_54

Plugin Details

Severity: High

ID: 147727

File Name: microsoft_visual_studio_code_1_54_1.nasl

Version: 1.3

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 3/12/2021

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-27060

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:microsoft:visual_studio_code

Required KB Items: installed_sw/Microsoft Visual Studio Code, Host/OS

Exploit Ease: No known exploits are available

Patch Publication Date: 3/9/2021

Vulnerability Publication Date: 3/9/2021

Reference Information

CVE: CVE-2021-27060