🇰🇷 한글 설명
raine consult-llm-mcp 2.5.3 이하 버전의 src/server.ts에서 child_process.execSync 함수가 git_diff.base_ref와 git_diff.files 인자를 불충분하게 검증하여 OS 명령어 주입 취약점이 발생합니다. 로컬 접근 권한이 있는 공격자가 악의적인 쉘 명령어를 주입하여 임의의 시스템 명령어를 실행할 수 있으며, 버전 2.5.4로 업그레이드하면 해결됩니다.
💡 쉬운 설명
이 프로그램이 사용자 입력을 검증하지 않아서 git 명령어 실행 시 악의적인 명령어를 함께 실행시킬 수 있습니다. 버전 2.5.4 이상으로 업데이트하면 이 문제가 해결됩니다.
🇺🇸 원문 (English)
A vulnerability was detected in raine consult-llm-mcp up to 2.5.3. Affected by this vulnerability is the function child_process.execSync of the file src/server.ts. The manipulation of the argument git_diff.base_ref/git_diff.files results in os command injection. The attack is only possible with local access. The exploit is now public and may be used. Upgrading to version 2.5.4 addresses this issue. The patch is identified as 4abf297b34e5e8a9cb364b35f52c5f0ca1d599d3. Upgrading the affected component is recommended.
📍 영향받는 시스템
raine consult-llm-mcp 버전 2.5.3 이하
⚔️ 공격 벡터
로컬 접근 권한이 있는 공격자가 git_diff.base_ref 또는 git_diff.files 매개변수에 쉘 메타문자를 포함하여 임의 OS 명령어 주입
🛡️ 대응 방법
raine consult-llm-mcp를 2.5.4 이상으로 업그레이드
🔧 검증 코드
버전이 2.5.4 이상이면 안전, 2.5.3 이하이면 취약한 상태입니다.
npm list raine-consult-llm-mcp 2>/dev/null | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -1