SB2021092026 - Multiple vulnerabilities in FFmpeg
Published: September 20, 2021 Updated: January 2, 2023
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 7 secuirty vulnerabilities.
1) Buffer overflow (CVE-ID: CVE-2020-20891)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the config_input() function in libavfilter/vf_gblur.c in FFmpeg. A remote attacker can trigger memory corruption and execute arbitrary code on the target system.
2) Division by zero (CVE-ID: CVE-2020-20892)
The vulnerability allows a remote attacker to perform a denial of service attack.
The vulnerability exists due to a division by zero error within the filter_frame() function in libavfilter/vf_lenscorrection.c in FFmpeg. A remote attacker can pass specially crafted data to the application and crash it.
3) NULL pointer dereference (CVE-ID: CVE-2020-20896)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference error in the latm_write_packet() function in libavformat/latmenc.c in FFmpeg. A remote attacker can perform a denial of service (DoS) attack.
4) Out-of-bounds read (CVE-ID: CVE-2020-20902)
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to a boundary condition within the long_term_filter() function in g729postfilter.c in FFmpeg. A remote attacker can trigger an out-of-bounds read error and read contents of memory on the system.
5) Integer overflow (CVE-ID: CVE-2021-38092)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow within the filter_prewitt() function in libavfilter/vf_convolution.c in FFmpeg . A remote attacker can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.
6) Integer overflow (CVE-ID: CVE-2021-38093)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow within the filter_robert() function in libavfilter/vf_convolution.c in FFmpeg. A remote attacker can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.
7) Integer overflow (CVE-ID: CVE-2021-38094)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow within the filter_sobel() function in libavfilter/vf_convolution.c in Ffmpeg. A remote attacker can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.
Remediation
Install update from vendor's website.
References
- https://trac.ffmpeg.org/ticket/8282
- https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/64a805883d7223c868a683f0030837d859edd2ab
- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=19587c9332f5be4f6bc6d7b2b8ef3fd21dfeaa01
- https://trac.ffmpeg.org/ticket/8265
- https://trac.ffmpeg.org/ticket/8273
- https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/dd01947397b98e94c3f2a79d5820aaf4594f4d3b
- http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=0c61661a2cbe1b8b284c80ada1c2fdddf4992cad
- https://trac.ffmpeg.org/ticket/8176
- https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/99f8d32129dd233d4eb2efa44678a0bc44869f23
- https://trac.ffmpeg.org/ticket/8263