🇰🇷 한글 설명
OpenAI Codex CLI 및 Desktop 제품이 Git 저장소 메타데이터를 수집할 때 core.fsmonitor 설정을 확인하지 않아 발생하는 취약점입니다. 공격자가 조작한 .git/config 파일이 포함된 저장소를 사용자가 열 경우, 설정된 악성 파일 시스템 모니터 헬퍼가 사용자 권한으로 자동 실행될 수 있습니다.
💡 쉬운 설명
해커가 만든 특수한 폴더를 열기만 해도 컴퓨터에 몰래 악성 프로그램이 실행될 수 있는 보안 결함입니다. 이 프로그램은 사용자의 파일을 읽거나 삭제하는 등 컴퓨터를 마음대로 조작할 수 있습니다.
🇺🇸 원문 (English)
OpenAI Codex CLI for Windows, macOS, and Linux and Codex Desktop for Windows and macOS automatically collected Git repository metadata without disabling the repository-local core.fsmonitor setting. If a user opens or uses an attacker-prepared repository whose preserved .git/config sets core.fsmonitor to an attacker-controlled filesystem-monitor helper, Git can execute that helper while Codex collects repository metadata. The helper runs outside Codex's command sandbox and without a user-approval prompt, allowing attacker-controlled code to run with the user's privileges. The code can read, change, or delete the user's files and access other resources available to the user's account. An ordinary Git clone does not preserve the source repository's local .git/config; exploitation requires a repository delivered or copied with that configuration intact.
📍 영향받는 시스템
OpenAI Codex CLI (Windows, macOS, Linux) 및 Codex Desktop (Windows, macOS)
⚔️ 공격 벡터
core.fsmonitor 설정이 조작된 Git 저장소를 사용자가 열거나 사용함
🛡️ 대응 방법
OpenAI Codex 소프트웨어를 최신 보안 패치 버전으로 업데이트하십시오.
🔧 검증 코드
명령어 실행 시 특정 경로가 출력된다면 해당 저장소는 fsmonitor 설정이 활성화된 상태입니다.
git config --get core.fsmonitor