Security Update for Microsoft Visual Studio Code Remote Containers Extension (May 2021)

high Nessus Plugin ID 149384

Synopsis

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

Description

The Microsoft Visual Studio Code Remote Containers Extension is prior to version 0.177.1. It is, therefore, affected by a remote code execution vulnerability. By persuading a victim to open specially-crafted content, an attacker 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

Update the Microsoft Visual Studio Code Remote Containers Extension to version 0.177.1 or later.

See Also

http://www.nessus.org/u?a1e48dfb

Plugin Details

Severity: High

ID: 149384

File Name: microsoft_visual_studio_code_remote_containers_ms21_may.nasl

Version: 1.7

Type: local

Agent: windows

Family: Windows

Published: 5/11/2021

Updated: 1/2/2024

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.6

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

CVSS Score Source: CVE-2021-31213

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7.2

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:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:microsoft:visual_studio_code

Required KB Items: installed_sw/Microsoft Visual Studio Code

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/11/2021

Vulnerability Publication Date: 5/11/2021

Reference Information

CVE: CVE-2021-31213

IAVA: 2021-A-0219-S