🇰🇷 한글 설명
FFmpeg 8.1.2 이하 버전의 LCL/ZLIB 비디오 디코더에서 정보 노출 취약점이 발견되었습니다. 공격자가 조작된 zlib 스트림을 제공하면 디코딩 과정에서 초기화되지 않은 힙 메모리가 AVFrame 출력에 포함되어 노출될 수 있습니다. 이는 메모리 내 포인터 정보를 유출하여 ASLR 보안 메커니즘을 무력화할 위험이 있습니다.
💡 쉬운 설명
특수하게 제작된 동영상 파일을 재생할 때, 컴퓨터 메모리에 숨겨져 있어야 할 민감한 정보가 영상 데이터와 함께 밖으로 새어 나갈 수 있는 문제입니다. 이를 통해 해커는 시스템의 보안 방어 체계를 우회할 수 있는 중요한 정보를 얻을 수 있습니다.
🇺🇸 원문 (English)
FFmpeg through 8.1.2, fixed in commit 8670835, contains an information disclosure vulnerability in the LCL/ZLIB video decoder that allows attackers to expose uninitialized heap memory by supplying a valid zlib stream that inflates to fewer bytes than the expected frame size. The zlib_decomp() function in lcldec.c treats short decompression as non-fatal and continues to the RGB24 conversion path, which copies a full frame's worth of rows from the allocation buffer using original frame dimensions, causing uninitialized heap contents including pointer-derived allocator bytes to be copied into the attacker-observable AVFrame output and potentially defeating ASLR in long-lived media processing services.
📍 영향받는 시스템
FFmpeg 8.1.2 및 그 이전 버전
⚔️ 공격 벡터
조작된 zlib 스트림을 포함한 악성 비디오 파일을 미디어 처리 서비스에 입력하여 발생
🛡️ 대응 방법
FFmpeg를 커밋 8670835가 포함된 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 8.1.2 이하인지 확인하여 취약 여부를 판단합니다.
ffmpeg -version | head -n 1