🔍 CVE-2025-23040

6.6
CVSS Score
MEDIUM
2025-01-15
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

GitHub Desktop에서 악의적으로 조작된 원격 URL을 통해 git-credential 프로토콜의 자격증명 요청을 오류 해석하여, 사용자의 GitHub 토큰이나 기타 호스트 credentials가 공격자의 서버로 유출될 수 있습니다. 저장소 클론 또는 서브모듈 추가 시 피해를 입을 수 있으며, GitHub Desktop 3.4.12 이상으로 업데이트하여 해결됩니다.

💡 쉬운 설명

GitHub Desktop에서 저장소를 내려받을 때 특수하게 조작한 주소를 사용하면, 사용자의 로그인 정보가 공격자의 다른 서버로 유출될 수 있습니다. 영향받는 사용자는 GitHub 토큰과 기타 저장된 credentials을 즉시 재설정해야 합니다.

🇺🇸 원문 (English)

GitHub Desktop is an open-source Electron-based GitHub app designed for git development. An attacker convincing a user to clone a repository directly or through a submodule can allow the attacker access to the user's credentials through the use of maliciously crafted remote URL. GitHub Desktop relies on Git to perform all network related operations (such as cloning, fetching, and pushing). When a user attempts to clone a repository GitHub Desktop will invoke `git clone` and when Git encounters a remote which requires authentication it will request the credentials for that remote host from GitHub Desktop using the git-credential protocol. Using a maliciously crafted URL it's possible to cause the credential request coming from Git to be misinterpreted by Github Desktop such that it will send credentials for a different host than the host that Git is currently communicating with thereby allowing for secret exfiltration. GitHub username and OAuth token, or credentials for other Git remote hosts stored in GitHub Desktop could be improperly transmitted to an unrelated host. Users should update to GitHub Desktop 3.4.12 or greater which fixes this vulnerability. Users who suspect they may be affected should revoke any relevant credentials.

📍 영향받는 시스템

GitHub Desktop 3.4.12 미만 모든 버전

⚔️ 공격 벡터

악의적으로 조작된 git repository URL을 통한 저장소 클론 또는 서브모듈 추가

🛡️ 대응 방법

GitHub Desktop을 3.4.12 버전 이상으로 업데이트

🔧 검증 코드

출력된 버전번호가 3.4.12 이상이면 안전, 그 이하거나 설치 안됨 표시되면 취약한 상태입니다.

Shell / Script
dpkg -l 2>/dev/null | grep github-desktop | awk '{print $3}'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Git