SB2021092026 - Multiple vulnerabilities in FFmpeg



SB2021092026 - Multiple vulnerabilities in FFmpeg

Published: September 20, 2021 Updated: January 2, 2023

Security Bulletin ID SB2021092026
CSH Severity
High
Patch available
YES
Number of vulnerabilities 7
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 57% Medium 43%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 7 vulnerabilities.


1) Buffer overflow (CVE-ID: CVE-2020-20891)

CWE-ID: CWE-119 - Memory corruption

CVSSv4: 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/E:U/U:Amber


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)

CWE-ID: CWE-369 - Divide By Zero

CVSSv4: 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/E:U/U:Green


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)

CWE-ID: CWE-476 - NULL Pointer Dereference

CVSSv4: 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/E:U/U:Green


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)

CWE-ID: CWE-125 - Out-of-bounds read

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green


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)

CWE-ID: CWE-190 - Integer overflow

CVSSv4: 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/E:U/U:Amber


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)

CWE-ID: CWE-190 - Integer overflow

CVSSv4: 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/E:U/U:Amber


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)

CWE-ID: CWE-190 - Integer overflow

CVSSv4: 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/E:U/U:Amber


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.