🔍 CVE-2020-17023

7.8
CVSS Score
HIGH
2020-10-16
2026-06-17 02:58
✅ 완료

🇰🇷 한글 설명

사용자가 악성 'package.json' 파일을 열도록 유도할 경우 Visual Studio Code에서 원격 코드 실행이 가능한 취약점입니다. 공격자가 이를 악용하면 현재 사용자의 권한으로 임의의 코드를 실행하거나, 관리자 권한인 경우 시스템 전체를 제어할 수 있습니다.

💡 쉬운 설명

해커가 만든 특수한 설정 파일을 VS Code로 열기만 해도 컴퓨터가 해킹될 수 있는 위험한 문제입니다. 해커는 이 방법을 통해 사용자의 파일을 삭제하거나 컴퓨터를 마음대로 조종할 수 있습니다.

🇺🇸 원문 (English)

<p>A remote code execution vulnerability exists in Visual Studio Code when a user is tricked into opening a malicious 'package.json' file. 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.</p> <p>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 opens the malicious 'package.json' file.</p> <p>The update address the vulnerability by modifying the way Visual Studio Code handles JSON files.</p>

📍 영향받는 시스템

Visual Studio Code (package.json 처리 방식에 취약점이 있는 버전)

⚔️ 공격 벡터

사용자가 악성 코드가 포함된 저장소를 클론하고 VS Code에서 package.json 파일을 열도록 유도

🛡️ 대응 방법

Visual Studio Code를 최신 버전으로 업데이트하여 JSON 파일 처리 방식 개선 적용

🔧 검증 코드

출력된 버전이 취약점이 해결된 최신 버전인지 공식 보안 공지를 통해 확인

Shell / Script
code --version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Visual Studio