🇰🇷 한글 설명
Jij-Inc의 Jij-MCP-Server 0.1.0 버전에서 코드 주입 취약점이 발견되었습니다. jm_check 컴포넌트의 jij_mcp/python_repr.py 파일 내 PythonREPL.run 함수에서 code 인자를 조작하여 발생합니다. 공격자는 이를 통해 원격으로 악성 코드를 실행할 수 있습니다.
💡 쉬운 설명
프로그램이 사용자가 입력한 명령어를 검증 없이 실행하여 발생하는 보안 문제입니다. 해커가 원격에서 컴퓨터에 몰래 명령을 내려 제어권을 뺏을 수 있습니다.
🇺🇸 원문 (English)
A vulnerability was found in Jij-Inc Jij-MCP-Server 0.1.0. This affects the function PythonREPL.run of the file jij_mcp/python_repr.py of the component jm_check. The manipulation of the argument code results in code injection. It is possible to launch the attack remotely. The exploit has been made public and could be used. The project was informed of the problem early through an issue report but has not responded yet.
📍 영향받는 시스템
Jij-Inc Jij-MCP-Server 0.1.0
⚔️ 공격 벡터
원격에서 PythonREPL.run 함수의 code 인자에 악성 코드를 삽입하여 공격
🛡️ 대응 방법
해당 취약점이 해결된 패치 버전으로 업데이트하거나, 외부 입력값이 PythonREPL.run에 전달되지 않도록 입력값 검증 로직을 추가해야 합니다.
🔧 검증 코드
출력된 버전이 0.1.0인지 확인하여 취약 여부를 판단합니다.
pip show jij-mcp 2>/dev/null | grep -E 'Version'