🇰🇷 한글 설명
Zed IDE의 .git/config 파일에서 core.fsmonitor 옵션을 악용하여 임의 명령어를 실행하는 취약점입니다. 신뢰할 수 없는 폴더를 Zed에서 열 때 원격 코드 실행(RCE)이 가능하며, 버전 0.227.1에서 수정되었습니다.
💡 쉬운 설명
Zed 코드 편집기가 악의적인 .git/config 파일을 실행하면 해커가 마음대로 명령어를 실행할 수 있습니다. 신뢰하지 않는 프로젝트를 열 때 컴퓨터가 완전히 제어될 수 있습니다.
🇺🇸 원문 (English)
Zed is a code editor. Prior to 0.227.1, Zed IDE executes arbitrary commands when opening a folder with a malicious .git/config file that abuses the core.fsmonitor Git configuration option. This allows an attacker to achieve Remote Code Execution (RCE) when a victim open a folder in untrusted mode. This vulnerability is fixed in 0.227.1.
📍 영향받는 시스템
Zed IDE 0.227.1 미만 모든 버전
⚔️ 공격 벡터
악의적인 .git/config 파일의 core.fsmonitor 옵션을 통해 폴더 오픈 시 자동 명령어 실행
🛡️ 대응 방법
Zed IDE를 0.227.1 이상으로 업데이트
🔧 검증 코드
출력된 버전이 0.227.1 이상이면 패치됨, 0.227.1 미만이면 취약함
zed --version 2>/dev/null | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'