🇰🇷 한글 설명
Visual Studio Code에서 프로젝트를 열 때 환경 변수를 처리하는 과정에서 원격 코드 실행(RCE) 취약점이 발생합니다. 공격자가 조작된 저장소를 클론하도록 유도하여 사용자가 이를 열면, 통합 터미널 실행 시 공격자가 지정한 임의의 코드가 현재 사용자의 권한으로 실행될 수 있습니다.
💡 쉬운 설명
해커가 만든 프로젝트 파일을 VS Code로 열기만 해도 컴퓨터가 해킹당할 수 있는 위험한 문제입니다. 사용자가 모르는 사이에 해커가 내 컴퓨터에서 명령을 내리거나 파일을 삭제할 수 있습니다.
🇺🇸 원문 (English)
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.
📍 영향받는 시스템
Visual Studio Code (환경 변수 처리 로직이 수정되기 전 버전)
⚔️ 공격 벡터
사용자가 공격자가 만든 악성 저장소를 클론하고 VS Code에서 열어 통합 터미널을 실행하도록 유도
🛡️ 대응 방법
Visual Studio Code를 최신 버전으로 업데이트하여 환경 변수 처리 방식 개선 적용
🔧 검증 코드
출력된 버전이 취약점이 해결된 최신 버전인지 확인