🇰🇷 한글 설명
go-git 라이브러리 5.0.0 버전부터 5.17.1 미만 버전에서 악의적으로 조작된 .idx 파일로 인해 비대칭적 메모리 소비가 발생할 수 있습니다. 이로 인해 가용 메모리가 고갈되어 서비스 거부(DoS) 상태가 초래될 수 있습니다.
💡 쉬운 설명
특수하게 만들어진 파일을 읽을 때 컴퓨터의 메모리를 과도하게 사용하여 시스템을 멈추게 할 수 있는 문제입니다. 공격자가 저장소의 파일을 수정할 수 있는 권한이 있어야 공격이 가능합니다.
🇺🇸 원문 (English)
go-git is an extensible git implementation library written in pure Go. From version 5.0.0 to before version 5.17.1, a vulnerability has been identified in which a maliciously crafted .idx file can cause asymmetric memory consumption, potentially exhausting available memory and resulting in a denial-of-service (DoS) condition. Exploitation requires write access to the local repository's .git directory, it order to create or alter existing .idx files. This issue has been patched in version 5.17.1.
📍 영향받는 시스템
go-git version 5.0.0 to < 5.17.1
⚔️ 공격 벡터
로컬 저장소의 .git 디렉토리에 쓰기 권한을 이용해 조작된 .idx 파일을 생성하거나 수정
🛡️ 대응 방법
go-git 라이브러리를 5.17.1 이상의 버전으로 업데이트
🔧 검증 코드
출력된 go-git의 버전이 5.17.1 미만인지 확인
go list -m all | grep go-git