🇰🇷 한글 설명
Visual Studio Code의 Python 확장 프로그램이 노트북 파일에서 워크스페이스 설정을 로드할 때 원격 코드 실행(RCE) 취약점이 발생합니다. 공격자가 특수하게 제작된 파일을 열도록 유도하면 현재 사용자의 권한으로 임의의 코드를 실행하여 시스템을 제어할 수 있습니다.
💡 쉬운 설명
해커가 만든 악성 파일을 VS Code에서 열기만 해도 컴퓨터가 해킹될 수 있는 위험한 문제입니다. 해커가 내 컴퓨터에 몰래 프로그램을 설치하거나 파일을 삭제할 수 있습니다.
🇺🇸 원문 (English)
A remote code execution vulnerability exists in Visual Studio Code when the Python extension loads workspace settings from a notebook 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.
To exploit this vulnerability, an attacker would need to convince a target to open a specially crafted file in Visual Studio Code with the Python extension installed.
The update address the vulnerability by modifying the way Visual Studio Code Python extension enforces user settings.
📍 영향받는 시스템
Visual Studio Code (Python extension 설치된 환경)
⚔️ 공격 벡터
공격자가 제작한 악성 노트북 파일을 사용자가 VS Code로 열도록 유도
🛡️ 대응 방법
Visual Studio Code 및 Python 확장 프로그램을 최신 버전으로 업데이트
🔧 검증 코드
VS Code 버전과 Python 관련 확장 도구의 버전을 확인하여 최신 보안 패치가 적용되었는지 확인합니다.
code --version && pip show debugpy | grep Version