Security Update for Microsoft Visual Studio Code (April 2022)

high Nessus Plugin ID 159759

Synopsis

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

Description

The version of Microsoft Visual Studio Code installed on the remote Windows host is prior to 1.66.2. It is, therefore, affected by privilege escalation vulnerability. An authenticated, local attacker can exploit this to escalate their privileges of an affected system.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version

Solution

Upgrade to Microsoft Visual Studio Code 1.66.2 or later.

See Also

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

https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-26921

Plugin Details

Severity: High

ID: 159759

File Name: microsoft_visual_studio_code_1_66_2.nasl

Version: 1.6

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 4/15/2022

Updated: 11/27/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: 4.6

Temporal Score: 3.8

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

CVSS Score Source: CVE-2022-26921

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7.2

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/12/2022

Vulnerability Publication Date: 4/12/2022

Reference Information

CVE: CVE-2022-26921

IAVA: 2022-A-0153-S