🔍 CVE-2026-82253

7.5
CVSS Score
HIGH
2026-08-28
2026-08-31 19:17
✅ 완료

🇰🇷 한글 설명

gitoxide의 gix 및 gix-validate 라이브러리에서 경로 탐색(Path Traversal) 취약점이 발견되었습니다. 서브모듈 이름 검증 로직의 결함과 신뢰 상속 오류가 결합되어, 공격자가 조작된 .gitmodules 파일을 통해 임의의 Git 저장소 설정 및 자격 증명을 탈취할 수 있습니다.

💡 쉬운 설명

해커가 만든 특수한 설정 파일을 사용하면, 컴퓨터가 안전하지 않은 폴더를 안전하다고 착각하게 만들 수 있습니다. 이를 통해 사용자의 중요한 비밀번호나 설정 정보를 몰래 훔쳐갈 수 있는 위험이 있습니다.

🇺🇸 원문 (English)

gitoxide (Rust crates gix <= 0.72.0 and gix-validate <= 0.10.0) contains a path traversal vulnerability. The submodule name validation function in gix-validate only checks the first occurrence of '..' via name.find(b".."), allowing crafted names such as 'a..b/../../../.git/' to bypass the check; additionally this validation is never invoked in production code paths. Combined with a trust inheritance flaw in Submodule::open(), where the parent repository's git_dir_trust (Trust::Full) is cloned and the ownership verification is skipped, an attacker can craft a malicious .gitmodules file so that a victim tool built on gitoxide reads arbitrary git repository configuration (including embedded credentials) with full trust, bypassing safe-directory protections. Fixed in gix 0.82.0 and gix-validate 0.11.1.

📍 영향받는 시스템

gitoxide (gix <= 0.72.0, gix-validate <= 0.10.0)

⚔️ 공격 벡터

조작된 .gitmodules 파일을 통한 경로 탐색 및 신뢰 상속 취약점 악용

🛡️ 대응 방법

gix 0.82.0 또는 gix-validate 0.11.1 이상 버전으로 업데이트

🔧 검증 코드

출력된 라이브러리 버전이 gix 0.82.0 미만 또는 gix-validate 0.11.1 미만인지 확인하십시오.

Shell / Script
cargo pkgid | grep -E 'gix|gix-validate'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Git