🇰🇷 한글 설명
FFmpeg 4.4부터 8.1.2 버전의 ADX 오디오 디코더에서 경계 외 메모리 접근 취약점이 발견되었습니다. 공격자가 채널 레이아웃 변경이 포함된 조작된 ADX 또는 AAX 파일을 제공할 경우, 내부 채널 상태 업데이트 실패로 인해 메모리 읽기 및 쓰기 오류가 발생할 수 있습니다.
💡 쉬운 설명
특수하게 제작된 음악 파일을 재생할 때 프로그램이 메모리의 잘못된 영역을 건드려 오류가 발생하거나 해킹될 수 있는 문제입니다. 파일 중간에 오디오 채널 설정이 바뀌는 트릭을 사용하여 시스템을 공격할 수 있습니다.
🇺🇸 원문 (English)
FFmpeg versions 4.4 through 8.1.2 contain an out-of-bounds memory access vulnerability in the ADX audio decoder within libavcodec/adxdec.c that allows attackers to trigger both out-of-bounds reads and writes by supplying a crafted ADX or AAX audio file with a mid-stream channel layout change. When AV_PKT_DATA_NEW_EXTRADATA side data is received mid-stream, the adx_decode_frame function re-parses the stream header but fails to update the internal channel state, causing subsequent decoding operations to access the prev[] state array using a stale channel count.
📍 영향받는 시스템
FFmpeg versions 4.4 through 8.1.2
⚔️ 공격 벡터
조작된 ADX 또는 AAX 오디오 파일을 통한 공격
🛡️ 대응 방법
FFmpeg를 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 4.4 이상 8.1.2 이하 범위에 해당하면 취약한 상태입니다.
ffmpeg -version | grep -E 'version [0-9]+\.[0-9]+'