🇰🇷 한글 설명
GitHub MCP Server 0.22.0부터 1.1.2 버전까지, HTTP 모드에서 --lockdown-mode가 활성화된 경우 RepoAccessCache가 첫 번째 인증된 사용자의 GraphQL 클라이언트를 사용하는 프로세스 전역 싱글톤으로 구현되어 있습니다. 이로 인해 이후 접속하는 다른 사용자들이 첫 번째 사용자의 자격 증명을 공유하게 되어 보안 문제가 발생합니다. 이 취약점은 1.1.2 버전에서 수정되었습니다.
💡 쉬운 설명
여러 사람이 사용하는 프로그램에서 첫 번째 로그인한 사람의 권한이 다음 사람들에게도 그대로 적용되는 보안 결함입니다. 이로 인해 다른 사용자의 권한을 가로채거나 잘못된 권한으로 명령이 실행될 수 있습니다.
🇺🇸 원문 (English)
GitHub MCP Server is GitHub's official MCP Server. From 0.22.0 until 1.1.2, when running in HTTP mode with --lockdown-mode enabled, the RepoAccessCache is implemented as a process-global singleton initialized with the first authenticated user's GraphQL client. All subsequent requests from different users share this singleton and their lockdown-related GraphQL queries are executed using the first user's credentials. The singleton is never updated to reflect later users' tokens. This vulnerability is fixed in 1.1.2.
📍 영향받는 시스템
GitHub MCP Server 0.22.0 ~ 1.1.1 (1.1.2 미만 버전)
⚔️ 공격 벡터
HTTP 모드 및 --lockdown-mode가 활성화된 상태에서 다른 사용자의 요청이 첫 번째 사용자의 토큰을 사용하여 실행됨
🛡️ 대응 방법
GitHub MCP Server를 1.1.2 버전 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 1.1.2보다 낮으면 취약한 상태이며, 1.1.2 이상이면 안전합니다.
npm list -g @modelcontextprotocol/server-github --depth=0 | grep -E '@modelcontextprotocol/server-github@([0-9]+\.[0-9]+\.[0-9]+)'