Heap-based buffer overflow in FFmpeg - CVE-2020-22036

 

Heap-based buffer overflow in FFmpeg - CVE-2020-22036

Published: January 2, 2023


Vulnerability identifier: #VU70607
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-22036
CWE-ID: CWE-122
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 within the filter_intra() function at libavfilter/vf_bwdif.c in FFmpeg. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.



Affected software

FFmpeg
SUSE CaaS Platform
SUSE Enterprise Storage
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
libavformat57-32bit
libswresample2
libswresample2-debuginfo
libswscale-devel
libswscale4
libswscale4-debuginfo
libavcodec57-32bit
libavcodec57-32bit-debuginfo
libavdevice57-32bit
libavdevice57-32bit-debuginfo
libavfilter6-32bit
libavfilter6-32bit-debuginfo
libswresample-devel
libavformat57-32bit-debuginfo
libavresample3-32bit
libavresample3-32bit-debuginfo
libavutil55-32bit
libavutil55-32bit-debuginfo
libpostproc54-32bit
libpostproc54-32bit-debuginfo
libswresample2-32bit
libswresample2-32bit-debuginfo
libswscale4-32bit
libswscale4-32bit-debuginfo
libavformat57
ffmpeg-debugsource
libavcodec-devel
libavcodec57
libavcodec57-debuginfo
libavdevice-devel
libavdevice57
libavdevice57-debuginfo
libavfilter-devel
libavfilter6
libavfilter6-debuginfo
libavformat-devel
ffmpeg-debuginfo
libavformat57-debuginfo
libavresample-devel
libavresample3
libavresample3-debuginfo
libavutil-devel
libavutil55
libavutil55-debuginfo
libpostproc-devel
libpostproc54
libpostproc54-debuginfo

How to mitigate CVE-2020-22036

Install updates from vendor's website.

FFmpeg - update to 4.2.1
libavformat57-32bit - update to 3.4.2-150000.4.44.1
libswresample2 - update to 3.4.2-150000.4.44.1
libswresample2-debuginfo - update to 3.4.2-150000.4.44.1
libswscale-devel - update to 3.4.2-150000.4.44.1
libswscale4 - update to 3.4.2-150000.4.44.1
libswscale4-debuginfo - update to 3.4.2-150000.4.44.1
libavcodec57-32bit - update to 3.4.2-150000.4.44.1
libavcodec57-32bit-debuginfo - update to 3.4.2-150000.4.44.1
libavdevice57-32bit - update to 3.4.2-150000.4.44.1
libavdevice57-32bit-debuginfo - update to 3.4.2-150000.4.44.1
libavfilter6-32bit - update to 3.4.2-150000.4.44.1
libavfilter6-32bit-debuginfo - update to 3.4.2-150000.4.44.1
libswresample-devel - update to 3.4.2-150000.4.44.1
libavformat57-32bit-debuginfo - update to 3.4.2-150000.4.44.1
libavresample3-32bit - update to 3.4.2-150000.4.44.1
libavresample3-32bit-debuginfo - update to 3.4.2-150000.4.44.1
libavutil55-32bit - update to 3.4.2-150000.4.44.1
libavutil55-32bit-debuginfo - update to 3.4.2-150000.4.44.1
libpostproc54-32bit - update to 3.4.2-150000.4.44.1
libpostproc54-32bit-debuginfo - update to 3.4.2-150000.4.44.1
libswresample2-32bit - update to 3.4.2-150000.4.44.1
libswresample2-32bit-debuginfo - update to 3.4.2-150000.4.44.1
libswscale4-32bit - update to 3.4.2-150000.4.44.1
libswscale4-32bit-debuginfo - update to 3.4.2-150000.4.44.1
libavformat57 - update to 3.4.2-150000.4.44.1
ffmpeg-debugsource - update to 3.4.2-150000.4.44.1
libavcodec-devel - update to 3.4.2-150000.4.44.1
libavcodec57 - update to 3.4.2-150000.4.44.1
libavcodec57-debuginfo - update to 3.4.2-150000.4.44.1
libavdevice-devel - update to 3.4.2-150000.4.44.1
libavdevice57 - update to 3.4.2-150000.4.44.1
libavdevice57-debuginfo - update to 3.4.2-150000.4.44.1
libavfilter-devel - update to 3.4.2-150000.4.44.1
libavfilter6 - update to 3.4.2-150000.4.44.1
libavfilter6-debuginfo - update to 3.4.2-150000.4.44.1
libavformat-devel - update to 3.4.2-150000.4.44.1
ffmpeg-debuginfo - update to 3.4.2-150000.4.44.1
libavformat57-debuginfo - update to 3.4.2-150000.4.44.1
libavresample-devel - update to 3.4.2-150000.4.44.1
libavresample3 - update to 3.4.2-150000.4.44.1
libavresample3-debuginfo - update to 3.4.2-150000.4.44.1
libavutil-devel - update to 3.4.2-150000.4.44.1
libavutil55 - update to 3.4.2-150000.4.44.1
libavutil55-debuginfo - update to 3.4.2-150000.4.44.1
libpostproc-devel - update to 3.4.2-150000.4.44.1
libpostproc54 - update to 3.4.2-150000.4.44.1
libpostproc54-debuginfo - update to 3.4.2-150000.4.44.1

External References

Related Security Bulletins