Buffer overflow in FFmpeg - CVE-2023-49501

 

Buffer overflow in FFmpeg - CVE-2023-49501

Published: May 9, 2024


Vulnerability identifier: #VU89303
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-49501
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in config_eq_output function in the libavfilter/asrc_afirsrc.c. A remote attacker can pass specially crafted input to the application, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

FFmpeg
Fedora
Ubuntu
openEuler
libpostproc57 (Ubuntu package)
libavcodec57 (Ubuntu package)
libavfilter-extra9 (Ubuntu package)
libavcodec-extra57 (Ubuntu package)
libavfilter9 (Ubuntu package)
libavresample4 (Ubuntu package)
libavformat-extra60 (Ubuntu package)
libswscale5 (Ubuntu package)
libavformat60 (Ubuntu package)
libswresample3 (Ubuntu package)
libavutil58 (Ubuntu package)
libpostproc55 (Ubuntu package)
libavdevice60 (Ubuntu package)
libavutil56 (Ubuntu package)
libswresample4 (Ubuntu package)
libavformat58 (Ubuntu package)
libswscale7 (Ubuntu package)
libavformat-extra58 (Ubuntu package)
libavcodec-extra58 (Ubuntu package)
libavcodec58 (Ubuntu package)
libavdevice58 (Ubuntu package)
libavfilter-extra7 (Ubuntu package)
libavfilter7 (Ubuntu package)
libavformat-extra (Ubuntu package)
libavfilter-ffmpeg5 (Ubuntu package)
libswresample2 (Ubuntu package)
libpostproc54 (Ubuntu package)
libavutil55 (Ubuntu package)
libavresample3 (Ubuntu package)
libavformat57 (Ubuntu package)
libswscale-ffmpeg3 (Ubuntu package)
libswresample-ffmpeg1 (Ubuntu package)
libpostproc-ffmpeg53 (Ubuntu package)
libavutil-ffmpeg54 (Ubuntu package)
libavresample-ffmpeg2 (Ubuntu package)
libavformat-ffmpeg56 (Ubuntu package)
libavdevice-ffmpeg56 (Ubuntu package)
libavcodec-ffmpeg56 (Ubuntu package)
libavcodec-ffmpeg-extra56 (Ubuntu package)
libswscale4 (Ubuntu package)
ffmpeg (Ubuntu package)
libavfilter6 (Ubuntu package)
libavcodec-extra60 (Ubuntu package)
libavfilter-extra6 (Ubuntu package)
libavcodec60 (Ubuntu package)
libavdevice57 (Ubuntu package)
libavdevice
ffmpeg
ffmpeg-debuginfo
ffmpeg-debugsource
ffmpeg-devel
ffmpeg-libs
chromium

How to mitigate CVE-2023-49501

Install updates from vendor's website.

libpostproc57 (Ubuntu package) - addressed in versions Ubuntu Pro, 7:6.0-6ubuntu1.1
libavcodec57 (Ubuntu package) - update to Ubuntu Pro
libavfilter-extra9 (Ubuntu package) - addressed in versions Ubuntu Pro, 7:6.0-6ubuntu1.1
libavcodec-extra57 (Ubuntu package) - update to Ubuntu Pro
libavfilter9 (Ubuntu package) - addressed in versions Ubuntu Pro, 7:6.0-6ubuntu1.1
libavresample4 (Ubuntu package) - update to Ubuntu Pro
libavformat-extra60 (Ubuntu package) - addressed in versions Ubuntu Pro, 7:6.0-6ubuntu1.1
libswscale5 (Ubuntu package) - update to Ubuntu Pro
libavformat60 (Ubuntu package) - addressed in versions Ubuntu Pro, 7:6.0-6ubuntu1.1
libswresample3 (Ubuntu package) - update to Ubuntu Pro
libavutil58 (Ubuntu package) - addressed in versions Ubuntu Pro, 7:6.0-6ubuntu1.1
libpostproc55 (Ubuntu package) - update to Ubuntu Pro
libavdevice60 (Ubuntu package) - addressed in versions Ubuntu Pro, 7:6.0-6ubuntu1.1
libavutil56 (Ubuntu package) - update to Ubuntu Pro
libswresample4 (Ubuntu package) - addressed in versions Ubuntu Pro, 7:6.0-6ubuntu1.1
libavformat58 (Ubuntu package) - update to Ubuntu Pro
libswscale7 (Ubuntu package) - addressed in versions Ubuntu Pro, 7:6.0-6ubuntu1.1
libavformat-extra58 (Ubuntu package) - update to Ubuntu Pro
libavcodec-extra58 (Ubuntu package) - update to Ubuntu Pro
libavcodec58 (Ubuntu package) - update to Ubuntu Pro
libavdevice58 (Ubuntu package) - update to Ubuntu Pro
libavfilter-extra7 (Ubuntu package) - update to Ubuntu Pro
libavfilter7 (Ubuntu package) - update to Ubuntu Pro
libavformat-extra (Ubuntu package) - update to Ubuntu Pro
libavfilter-ffmpeg5 (Ubuntu package) - update to Ubuntu Pro
libswresample2 (Ubuntu package) - update to Ubuntu Pro
libpostproc54 (Ubuntu package) - update to Ubuntu Pro
libavutil55 (Ubuntu package) - update to Ubuntu Pro
libavresample3 (Ubuntu package) - update to Ubuntu Pro
libavformat57 (Ubuntu package) - update to Ubuntu Pro
libswscale-ffmpeg3 (Ubuntu package) - update to Ubuntu Pro
libswresample-ffmpeg1 (Ubuntu package) - update to Ubuntu Pro
libpostproc-ffmpeg53 (Ubuntu package) - update to Ubuntu Pro
libavutil-ffmpeg54 (Ubuntu package) - update to Ubuntu Pro
libavresample-ffmpeg2 (Ubuntu package) - update to Ubuntu Pro
libavformat-ffmpeg56 (Ubuntu package) - update to Ubuntu Pro
libavdevice-ffmpeg56 (Ubuntu package) - update to Ubuntu Pro
libavcodec-ffmpeg56 (Ubuntu package) - update to Ubuntu Pro
libavcodec-ffmpeg-extra56 (Ubuntu package) - update to Ubuntu Pro
libswscale4 (Ubuntu package) - update to Ubuntu Pro
ffmpeg (Ubuntu package) - addressed in versions Ubuntu Pro, 7:6.0-6ubuntu1.1
libavfilter6 (Ubuntu package) - update to Ubuntu Pro
libavcodec-extra60 (Ubuntu package) - addressed in versions Ubuntu Pro, 7:6.0-6ubuntu1.1
libavfilter-extra6 (Ubuntu package) - update to Ubuntu Pro
libavcodec60 (Ubuntu package) - addressed in versions Ubuntu Pro, 7:6.0-6ubuntu1.1
libavdevice57 (Ubuntu package) - update to Ubuntu Pro
libavdevice - update to 6.1.1-14
ffmpeg - update to 6.1.1-14
ffmpeg-debuginfo - update to 6.1.1-14
ffmpeg-debugsource - update to 6.1.1-14
ffmpeg-devel - update to 6.1.1-14
ffmpeg-libs - update to 6.1.1-14
chromium - addressed in versions 124.0.6367.78-1.el9, 124.0.6367.91-1.el9, 124.0.6367.118-1.el9, 124.0.6367.118-2.el8, 124.0.6367.155-1.el8, 124.0.6367.155-1.el9, 124.0.6367.155-1.fc38, 124.0.6367.155-1.fc39, 124.0.6367.155-1.fc40, 124.0.6367.201-1.el8, 124.0.6367.201-1.el9, 124.0.6367.201-1.fc38, 125.0.6422.60-1.el8, 125.0.6422.60-1.el9, 125.0.6422.60-1.fc38, 125.0.6422.76-1.el8, 125.0.6422.76-1.el9

External References

Related Security Bulletins