SB2020042816 - Heap-based buffer overflow in FFmpeg 



SB2020042816 - Heap-based buffer overflow in FFmpeg

Published: April 28, 2020 Updated: January 2, 2023

Security Bulletin ID SB2020042816
Severity
High
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 50% Medium 50%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 secuirty vulnerabilities.


1) Heap-based buffer overflow (CVE-ID: CVE-2020-12284)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in "cbs_jpeg_split_fragment" in "libavcodec/cbs_jpeg.c" file during "JPEG_MARKER_SOS" handling. A remote attacker can trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


2) Input validation error (CVE-ID: CVE-2021-3566)

The vulnerability allows a remote attacker to manipulate data.

The vulnerability exists due to tty demuxer does not have a 'read_probe' function assigned to it. A remote attacker can create a legitimate "ffconcat" file that references an image, followed by a file the triggers the tty demuxer, the contents of the second file will be copied into the output file verbatim.


Remediation

Install update from vendor's website.