🔍 CVE-2025-68143

8.8
CVSS Score
HIGH
2025-12-17
2026-09-30 23:10
✅ 완료

🇰🇷 한글 설명

MCP 서버의 git_init 도구가 임의의 경로에 Git 저장소를 생성할 수 있어 권한 없는 디렉토리 조작이 가능했습니다. 2025.9.25 이전 버전에서 경로 검증이 부족하여 서버가 접근 가능한 모든 위치에 저장소를 초기화할 수 있었습니다.

💡 쉬운 설명

MCP 서버 도구가 원하는 어느 폴더든 깃 저장소로 만들 수 있어서, 공격자가 의도하지 않은 디렉토리를 제어할 수 있었습니다. 2025.9.25부터는 이 기능 자체가 없어져 문제가 해결되었습니다.

🇺🇸 원문 (English)

Model Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). In mcp-server-git versions prior to 2025.9.25, the git_init tool accepted arbitrary filesystem paths and created Git repositories without validating the target location. Unlike other tools which required an existing repository, git_init could operate on any directory accessible to the server process, making those directories eligible for subsequent git operations. The tool was removed entirely, as the server is intended to operate on existing repositories only. Users are advised to upgrade to 2025.9.25 or newer to remediate this issue.

📍 영향받는 시스템

mcp-server-git < 2025.9.25

⚔️ 공격 벡터

git_init 도구에 임의 경로 입력 후 저장소 초기화로 비인가 디렉토리 제어

🛡️ 대응 방법

mcp-server-git을 2025.9.25 이상으로 업그레이드

🔧 검증 코드

버전이 2025.9.25 이상이면 안전함. 그 미만이면 즉시 업데이트 필요

Shell / Script
pip show mcp-server-git 2>/dev/null | grep Version

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Git