NVD Vulnerability Detail
Search Exploit, PoC
CVE-2020-0604
Summary

A remote code execution vulnerability exists in Visual Studio Code when it process environment variables after opening a project. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. If the current user is logged on with administrative user rights, an attacker could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.
To exploit this vulnerability, an attacker would need to convince a target to clone a repository and open it in Visual Studio Code. Attacker-specified code would execute when the target opened the integrated terminal.
The update address the vulnerability by modifying the way Visual Studio Code handles environment variables.

Publication Date Aug. 18, 2020, 4:15 a.m.
Registration Date Jan. 26, 2021, 11:49 a.m.
Last Update Nov. 21, 2024, 1:53 p.m.
CVSS3.1 : HIGH
スコア 7.8
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
CVSS2.0 : HIGH
Score 9.3
Vector AV:N/AC:M/Au:N/C:C/I:C/A:C
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required はい
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:*:*:* 0.24.0
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Visual Studio Code のリモートでコードが実行される脆弱性
Title Visual Studio Code のリモートでコードが実行される脆弱性
Summary

Visual Studio Code には 、プロジェクトを開いた後に環境変数を処理する場合、リモートでコードを実行される脆弱性が存在します。 ベンダは、本脆弱性を「Visual Studio Code のリモートコード実行の脆弱性」として公開しています。

Possible impacts リモートでコードを実行される可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Aug. 11, 2020, midnight
Registration Date Nov. 24, 2020, 3:05 p.m.
Last Update Nov. 24, 2020, 3:05 p.m.
Affected System
マイクロソフト
Visual Studio Code 
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2020年11月24日]
  掲載
Nov. 24, 2020, 3:05 p.m.