SB2021060157 - Multiple vulnerabilities in FFmpeg



SB2021060157 - Multiple vulnerabilities in FFmpeg

Published: June 1, 2021 Updated: January 2, 2023

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

Breakdown by Severity

High 25% Medium 75%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 4 vulnerabilities.


1) Memory leak (CVE-ID: CVE-2020-22037)

CWE-ID: CWE-401 - Missing release of memory after effective lifetime

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 memory leak within avcodec_alloc_context3() function in options.c in FFmpeg. A remote attacker can perform a denial of service attack.


2) Memory leak (CVE-ID: CVE-2020-22042)

CWE-ID: CWE-401 - Missing release of memory after effective lifetime

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 memory leak within the link_filter_inouts() function in libavfilter/graphparser.c. A remote attacker can perform a denial of service attack.


3) Buffer overflow (CVE-ID: CVE-2020-22028)

CWE-ID: CWE-119 - Memory corruption

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 boundary error within the ilter_vertically_8() function in libavfilter/vf_avgblur.c in FFmpeg. A remote attacker can trigger memory corruption and crash the application.


4) Heap-based buffer overflow (CVE-ID: CVE-2020-22036)

CWE-ID: CWE-122 - Heap-based Buffer 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 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.



Remediation

Install update from vendor's website.