🇰🇷 한글 설명
macOS용 Cursor IDE 3.0.0 미만 버전에서 Auto-Run Sandbox 모드로 실행 중인 에이전트가 권한이 있는 컨테이너를 실행할 수 있는 취약점이 발견되었습니다. Docker Desktop과 Dev Containers CLI가 설치된 경우, Docker의 virtiofs0를 마운트하여 사용자 홈 디렉토리에 대한 읽기/쓰기 권한을 획득하고 사용자 권한으로 호스트 명령을 실행할 수 있습니다.
💡 쉬운 설명
AI 코드 편집기인 Cursor에서 특정 설정이 되어 있을 때, 악성 프로그램이 사용자의 컴퓨터 파일에 마음대로 접근하고 명령을 내릴 수 있는 문제입니다. 사용자의 허락 없이도 집 안의 모든 서랍을 열어보고 물건을 바꿀 수 있는 위험한 상태가 될 수 있습니다.
🇺🇸 원문 (English)
Cursor is a code editor built for programming with AI. Prior to 3.0.0, Cursor IDE for macOS allows an agent running in Auto-Run Sandbox mode, when Docker Desktop and the Dev Containers CLI are installed, to launch a privileged container and mount Docker's virtiofs0, granting read and write access to the user's home directory and enabling host command execution with the user's privileges without an additional permission prompt. This issue is fixed in version 3.0.0.
📍 영향받는 시스템
Cursor IDE for macOS (version < 3.0.0) with Docker Desktop and Dev Containers CLI installed
⚔️ 공격 벡터
Auto-Run Sandbox 모드에서 실행되는 에이전트를 통해 권한이 있는 Docker 컨테이너를 실행하고 virtiofs0를 마운트함
🛡️ 대응 방법
Cursor IDE를 3.0.0 버전 이상으로 업데이트하십시오.
🔧 검증 코드
출력 결과에 '3.'으로 시작하는 버전 번호가 나타나면 안전하며, 그렇지 않으면 취약할 수 있습니다.
curl -s https://api.cursor.com/version | grep -E '3\.[0-9]' || echo 'Vulnerable or Unknown'