🇰🇷 한글 설명
Visual Studio Code에서 Python 확장이 Jupyter 노트북 파일을 로드할 때 원격 코드 실행(RCE) 취약점이 발생합니다. 공격자가 특수하게 제작된 파일을 열도록 유도하면 현재 사용자의 권한으로 임의의 코드를 실행하여 시스템을 제어할 수 있습니다.
💡 쉬운 설명
Visual Studio Code에서 파이썬 확장 기능을 사용할 때, 악성 파일이 담긴 노트북 파일을 열기만 해도 해커가 내 컴퓨터를 조종할 수 있는 위험한 문제입니다. 해커가 심어놓은 명령어가 내 컴퓨터에서 몰래 실행될 수 있습니다.
🇺🇸 원문 (English)
<p>A remote code execution vulnerability exists in Visual Studio Code when the Python extension loads a Jupyter 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.</p>
<p>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.</p>
<p>The update addresses the vulnerability by modifying the way Visual Studio Code Python extension renders notebook content.</p>
📍 영향받는 시스템
Visual Studio Code (Python extension installed)
⚔️ 공격 벡터
사용자가 악의적으로 조작된 Jupyter 노트북(.ipynb) 파일을 Visual Studio Code로 열도록 유도
🛡️ 대응 방법
Visual Studio Code 및 Python 확장을 최신 버전으로 업데이트
🔧 검증 코드
설치된 Visual Studio Code 버전과 Python 관련 패키지 버전을 확인하여 최신 보안 패치가 적용되었는지 검토합니다.
code --version && pip show ipykernel