🔍 CVE-2025-48386

6.3
CVSS Score
MEDIUM
2025-07-08
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

Git의 Windows 자격증명(wincred) 헬퍼가 정적 버퍼를 사용하면서 wcsncat() 함수로 데이터를 추가할 때 버퍼 크기를 올바르게 검사하지 않아 버퍼 오버플로우 취약점이 발생합니다. 이를 통해 공격자가 메모리를 손상시키거나 원격 코드 실행이 가능할 수 있습니다.

💡 쉬운 설명

Git의 Windows 자격증명 저장 기능에 보안 결함이 있어서 너무 큰 데이터가 메모리에 저장될 수 있습니다. 악의적인 사용자가 이를 이용해 컴퓨터를 손상시킬 수 있습니다.

🇺🇸 원문 (English)

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. The wincred credential helper uses a static buffer (target) as a unique key for storing and comparing against internal storage. This credential helper does not properly bounds check the available space remaining in the buffer before appending to it with wcsncat(), leading to potential buffer overflows. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.

📍 영향받는 시스템

Git v2.43.0~v2.50.0 (Windows wincred credential helper 사용하는 모든 버전)

⚔️ 공격 벡터

특수하게 제작된 저장소 URL 또는 자격증명 데이터를 통한 로컬 버퍼 오버플로우 공격

🛡️ 대응 방법

Git을 v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, v2.50.1 이상으로 업그레이드

🔧 검증 코드

출력된 버전이 위의 수정된 버전 중 하나 이상인지 확인하세요. 예: git version 2.50.1 이상이면 안전합니다.

Shell / Script
git --version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Git