🔍 CVE-2015-7545

9.8
CVSS Score
CRITICAL
2016-04-13
2026-05-06 22:30
✅ 완료

🇰🇷 한글 설명

Git 2.3.10 이전 및 특정 2.4.x, 2.5.x, 2.6.x 버전의 remote helper가 프로토콜 제한을 제대로 적용하지 않아, .gitmodules 파일의 악의적 URL을 통해 원격 공격자가 임의 코드를 실행할 수 있는 취약점입니다.

💡 쉬운 설명

신뢰하지 않는 Git 저장소에서 특수한 설정 파일을 통해 공격자가 당신의 컴퓨터에서 원하는 명령을 실행할 수 있습니다. Git을 최신 버전으로 업데이트하면 방어할 수 있습니다.

🇺🇸 원문 (English)

The (1) git-remote-ext and (2) unspecified other remote helper programs in Git before 2.3.10, 2.4.x before 2.4.10, 2.5.x before 2.5.4, and 2.6.x before 2.6.1 do not properly restrict the allowed protocols, which might allow remote attackers to execute arbitrary code via a URL in a (a) .gitmodules file or (b) unknown other sources in a submodule.

📍 영향받는 시스템

Git < 2.3.10, 2.4.0-2.4.9, 2.5.0-2.5.3, 2.6.0

⚔️ 공격 벡터

.gitmodules 파일에 포함된 malicious URL을 통한 protocol handler 악용 또는 submodule 설정 파일 조작

🛡️ 대응 방법

Git을 2.3.10, 2.4.10, 2.5.4, 2.6.1 이상의 최신 패치 버전으로 업그레이드

🔧 검증 코드

출력된 버전이 2.3.10, 2.4.10, 2.5.4, 2.6.1 이상이면 안전하고, 그 이하이면 즉시 업그레이드 필요

Shell / Script
git --version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Git