🇰🇷 한글 설명
FFmpeg 2.1부터 8.1.2 버전의 VobSub 자막 디멀티플렉서에서 힙 버퍼 오버플로우 취약점이 발견되었습니다. 공격자가 조작된 .sub/.idx 파일을 제공하여 고정된 배열 범위를 초과하는 스트림 ID를 선언하면, 인접한 힙 메모리를 오염시켜 임의 코드를 실행할 수 있습니다.
💡 쉬운 설명
특수하게 제작된 자막 파일을 실행하면 프로그램의 메모리 영역을 넘쳐흐르게 만드는 보안 약점입니다. 이를 통해 해커가 사용자의 컴퓨터에서 몰래 악성 명령을 실행할 위험이 있습니다.
🇺🇸 원문 (English)
FFmpeg versions 2.1 through 8.1.2 contains a heap buffer overflow vulnerability in the VobSub subtitle demuxer that allows attackers to corrupt adjacent heap memory by supplying a malicious .sub/.idx subtitle file declaring more distinct stream IDs than the fixed-size array bounds in libavformat/mpeg.c. Attackers can craft a subtitle file with excessive distinct stream IDs to trigger unbounded writes beyond the vobsub->q[] array boundary via ff_subtitles_queue_insert(), potentially achieving arbitrary code execution in any application using FFmpeg's VobSub demuxer.
📍 영향받는 시스템
FFmpeg versions 2.1 through 8.1.2
⚔️ 공격 벡터
악의적으로 조작된 .sub 또는 .idx 자막 파일을 FFmpeg을 통해 처리할 때 발생
🛡️ 대응 방법
FFmpeg을 최신 보안 패치가 적용된 버전(8.1.3 이상 권장)으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 2.1에서 8.1.2 사이인지 확인하십시오.
ffmpeg -version | head -n 1