🇰🇷 한글 설명
Vim 9.2.0846 미만 버전의 src/spellfile.c 내 set_sofo() 함수에서 발생하는 취약점입니다. 조작된 맞춤법 파일(spell file)을 사용할 경우 힙 할당 범위를 벗어난 쓰기 작업이 발생할 수 있습니다.
💡 쉬운 설명
특수하게 만들어진 맞춤법 파일을 Vim으로 열 때, 프로그램이 메모리를 잘못 계산하여 시스템을 공격할 수 있는 상태가 됩니다. 이로 인해 해커가 컴퓨터의 메모리 영역에 원치 않는 데이터를 쓸 수 있습니다.
🇺🇸 원문 (English)
Vim is an open source, command line text editor. Prior to 9.2.0846, set_sofo() in src/spellfile.c reuses sl_sal_first[] without resetting values left by set_sal_first(), so a crafted spell file containing an SN_SAL section before an SN_SOFO section causes under-counted mapping lists and attacker-influenced writes beyond a heap allocation. This issue is fixed in version 9.2.0846.
📍 영향받는 시스템
Vim 9.2.0846 미만 모든 버전
⚔️ 공격 벡터
조작된 SN_SAL 및 SN_SOFO 섹션이 포함된 맞춤법 파일을 Vim으로 로드함
🛡️ 대응 방법
Vim을 최신 버전인 9.2.0846 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 9.2.0846보다 낮은지 확인하십시오.
vim --version | head -n 1