🇰🇷 한글 설명
Gitoxide gix-mailmap 0.35.0 미만 버전에서 Snapshot::from_bytes 함수를 통한 CPU 자원 고갈 서비스 거부(DoS) 취약점이 발견되었습니다. 공격자가 정교하게 조작된 .mailmap 파일을 커밋하면, 내림차순 엔트리로 인한 반복적인 프런트 삽입 작업이 발생하여 log, blame, shortlog 등의 작업이 수 분간 중단될 수 있습니다.
💡 쉬운 설명
특수하게 만들어진 설정 파일을 사용하면 컴퓨터의 두뇌 역할을 하는 CPU를 과도하게 사용하여 시스템을 느리게 만들거나 멈추게 할 수 있습니다. 이로 인해 Git 관련 작업들이 정상적으로 진행되지 않을 수 있습니다.
🇺🇸 원문 (English)
Gitoxide gix-mailmap before 0.35.0 contains a denial of service vulnerability that allows attackers to exhaust CPU through quadratic-time parsing in Snapshot::from_bytes. Attackers can commit a crafted .mailmap with descending-ordered entries forcing repeated front inserts, blocking workers running log, blame, or shortlog for minutes.
📍 영향받는 시스템
Gitoxide gix-mailmap version < 0.35.0
⚔️ 공격 벡터
조작된 .mailmap 파일을 저장소에 커밋하여 CPU 자원을 고갈시키는 방식
🛡️ 대응 방법
gix-mailmap 버전을 0.35.0 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 gix-mailmap의 버전을 확인하여 0.35.0 미만인지 체크합니다.
cargo pkgid | grep gix-mailmap || echo 'Not found'