🇰🇷 한글 설명
MCP Python SDK (PyPI의 `mcp`)에서 1.10.0 버전 이전에, 클라이언트가 스트리밍 HTTP 세션 설정 후 의도적으로 예외를 트리거하면 서버 측에서 ClosedResourceError가 발생하여 서버가 충돌합니다. 서비스 복구를 위해 서버 재시작이 필요하며, 배포 환경과 인프라 복원력 조치에 따라 영향이 달라질 수 있습니다.
💡 쉬운 설명
MCP Python SDK의 버그로 특정 네트워크 요청을 받으면 서버가 갑자기 멈춘다. 공격자가 의도적으로 서버를 다운시킬 수 있다.
🇺🇸 원문 (English)
The MCP Python SDK, called `mcp` on PyPI, is a Python implementation of the Model Context Protocol (MCP). Prior to version 1.10.0, if a client deliberately triggers an exception after establishing a streamable HTTP session, this can lead to an uncaught ClosedResourceError on the server side, causing the server to crash and requiring a restart to restore service. Impact may vary depending on the deployment conditions, and presence of infrastructure-level resilience measures. Version 1.10.0 contains a patch for the issue.
📍 영향받는 시스템
mcp (PyPI) < 1.10.0
⚔️ 공격 벡터
클라이언트가 HTTP 스트리밍 세션 후 예외를 트리거하여 서버의 ClosedResourceError 발생 유도
🛡️ 대응 방법
mcp 패키지를 1.10.0 이상으로 업그레이드
🔧 검증 코드
Version 필드가 1.10.0 이상이면 취약점이 패치된 상태
pip show mcp | grep -i version