🇰🇷 한글 설명
FFmpeg 3.0부터 9.0 미만 버전의 RSCC 디코더에서 초기화되지 않은 힙 메모리 읽기 취약점이 발견되었습니다. 공격자가 조작된 비디오 파일을 제공할 경우, 디코딩 과정에서 실제 데이터보다 더 많은 영역을 복사하여 힙 메모리에 남아있는 민감한 정보가 유출될 수 있습니다.
💡 쉬운 설명
특수하게 만들어진 동영상 파일을 재생하면 컴퓨터 메모리에 숨겨져 있던 다른 데이터가 화면에 나타나거나 유출될 수 있는 문제입니다. 이는 영상 데이터의 크기를 제대로 확인하지 않고 메모리를 복사할 때 발생합니다.
🇺🇸 원문 (English)
FFmpeg versions from 3.0 up to, but not including, 9.0 contain an uninitialized heap memory read vulnerability in the native RSCC decoder (libavcodec/rscc.c) that allows attackers to disclose heap memory contents by supplying a crafted video file with a compressed tile that decompresses fewer bytes than the declared tile geometry requires. When rscc_decode_frame() calls av_image_copy_plane() without validating the decompressed byte count against the tile dimensions, the unwritten suffix of the persistent intermediate buffer ctx->inflated_buf is copied into the decoded frame, potentially exposing data from prior heap allocations or previous decoded frames in persistent decoding services.
📍 영향받는 시스템
FFmpeg versions 3.0 up to (but not including) 9.0
⚔️ 공격 벡터
조작된 비디오 파일(RSCC 코덱 사용)을 통해 공격자가 메모리 내용을 탈취
🛡️ 대응 방법
FFmpeg를 9.0 이상의 최신 버전으로 업데이트하거나 해당 코덱 사용을 제한하십시오.
🔧 검증 코드
명령어 결과에 버전 번호가 출력되면 해당 취약점에 노출된 버전이 설치되어 있는 것입니다.
ffmpeg -version | grep -E 'version [3-8]\.'