Buffer overflow in FFmpeg - CVE-2020-22024

 

Buffer overflow in FFmpeg - CVE-2020-22024

Published: December 5, 2023


Vulnerability identifier: #VU83851
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-22024
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error within the lagfun_frame16 function in libavfilter/vf_lagfun.c. A remote attacker can trigger memory corruption and cause a denial of service condition on the target system.


Affected software

FFmpeg
Ubuntu
ffmpeg (Ubuntu package)
libavcodec-extra58 (Ubuntu package)
libavresample4 (Ubuntu package)
libavcodec-extra (Ubuntu package)
libavfilter7 (Ubuntu package)
libavfilter-extra7 (Ubuntu package)
libavdevice58 (Ubuntu package)
libavfilter-extra (Ubuntu package)
libswscale5 (Ubuntu package)
libavutil56 (Ubuntu package)
libavcodec58 (Ubuntu package)
libpostproc55 (Ubuntu package)
libswresample3 (Ubuntu package)
libavformat58 (Ubuntu package)
Isolation Segment
VMware Tanzu Application Service for VMs

How to mitigate CVE-2020-22024

Install updates from vendor's website.

FFmpeg - update to 4.2.1
ffmpeg (Ubuntu package) - update to 7:4.2.7-0ubuntu0.1+esm2
libavcodec-extra58 (Ubuntu package) - update to 7:4.2.7-0ubuntu0.1+esm2
libavresample4 (Ubuntu package) - update to 7:4.2.7-0ubuntu0.1+esm2
libavcodec-extra (Ubuntu package) - update to 7:4.2.7-0ubuntu0.1+esm2
libavfilter7 (Ubuntu package) - update to 7:4.2.7-0ubuntu0.1+esm2
libavfilter-extra7 (Ubuntu package) - update to 7:4.2.7-0ubuntu0.1+esm2
libavdevice58 (Ubuntu package) - update to 7:4.2.7-0ubuntu0.1+esm2
libavfilter-extra (Ubuntu package) - update to 7:4.2.7-0ubuntu0.1+esm2
libswscale5 (Ubuntu package) - update to 7:4.2.7-0ubuntu0.1+esm2
libavutil56 (Ubuntu package) - update to 7:4.2.7-0ubuntu0.1+esm2
libavcodec58 (Ubuntu package) - update to 7:4.2.7-0ubuntu0.1+esm2
libpostproc55 (Ubuntu package) - update to 7:4.2.7-0ubuntu0.1+esm2
libswresample3 (Ubuntu package) - update to 7:4.2.7-0ubuntu0.1+esm2
libavformat58 (Ubuntu package) - update to 7:4.2.7-0ubuntu0.1+esm2
Isolation Segment - addressed in versions 2.11.42, 2.13.27, 3.0.20, 4.0.12
VMware Tanzu Application Service for VMs - addressed in versions 2.11.48, 2.13.30, 3.0.20, 4.0.12

External References

Related Security Bulletins