PT-2020-6487 · FFmpeg+4 · Ffmpeg+4

CVE-2021-3566

·

Published

2020-01-29

·

Updated

2023-01-02

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions ffmpeg versions prior to 4.3
Description The issue is related to the tty demuxer in the FFmpeg library, which did not have a read probe function assigned to it. This can be exploited by crafting a legitimate "ffconcat" file that references an image, followed by a file that triggers the tty demuxer. As a result, the contents of the second file will be copied into the output file verbatim, provided the -vcodec copy option is passed to ffmpeg. This could allow a remote attacker to access confidential data.
Recommendations For versions prior to 4.3, update to version 4.3 or later to resolve the issue. As a temporary workaround, consider avoiding the use of the -vcodec copy option with the tty demuxer until a patch is applied. Additionally, restrict the use of specially crafted "ffconcat" files to minimize the risk of exploitation.

Fix

Information Disclosure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2020-2361
ALT-PU-2021-1331
ALT-PU-2021-3508
BDU:2021-05271
CVE-2021-3566
DLA-2742-1
DSA-5126-1
OPENSUSE-SU-2021:3521-1
OPENSUSE-SU-2021_3521-1
SUSE-SU-2021:3521-1
SUSE-SU-2023:0005-1
USN-5167-1

Affected Products

Alt Linux
Astra Linux
Suse
Ubuntu
Ffmpeg