Skip to content

CVE-2021-3566 Prior to ffmpeg version 4.3, the tty demuxer did not have a 'read_probe' function assigned to it. By crafting a legitimate "ffconcat" file that references an image, followed by a file the triggers the...

MediumCVSS 5.5 EPSS 0.88%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

Prior to ffmpeg version 4.3, the tty demuxer did not have a 'read_probe' function assigned to it. By crafting 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 (as long as the -vcodec copy option is passed to ffmpeg).

Upgrade path

6 packages: 5 fixed.

PackageAffectedFixed inStatus
debian/ffmpeg(Debian 12) < 7:4.3-2 7:4.3-2 Fixed
debian/ffmpeg(Debian 13) < 7:4.3-2 7:4.3-2 Fixed
debian/ffmpeg(Debian 14) < 7:4.3-2 7:4.3-2 Fixed
ffmpeg/ffmpeg < 4.3 4.3 Fixed
ubuntu/ffmpeg(Ubuntu Pro 16.04) < 7:2.8.17-0ubuntu0.1+esm4; = 7:2.7.2-1build1; = 7:2.8.1-1ubuntu1; = 7:2.8.2-1ubuntu1 +18 more 7:2.8.17-0ubuntu0.1+esm4 Fixed
debian linux = 9.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/ffmpeg(Debian:12) < 7:4.3-2 7:4.3-2
debian/ffmpeg(Debian:13) < 7:4.3-2 7:4.3-2
debian/ffmpeg(Debian:14) < 7:4.3-2 7:4.3-2
ffmpeg/ffmpeg < 4.3 4.3
debian linux = 9.0 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) < 7:2.8.17-0ubuntu0.1+esm4 7:2.8.17-0ubuntu0.1+esm4
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.7.2-1build1 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.1-1ubuntu1 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.2-1ubuntu1 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.3-1 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.4-1 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.4-1ubuntu1 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.4-1ubuntu2 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.4-1ubuntu3 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.4-1ubuntu4 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.6-1ubuntu1 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.6-1ubuntu2 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.8-0ubuntu0.16.04.1 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.10-0ubuntu0.16.04.1 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.11-0ubuntu0.16.04.1 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.14-0ubuntu0.16.04.1 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.15-0ubuntu0.16.04.1 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.15-0ubuntu0.16.04.1+esm1 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.17-0ubuntu0.1 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.17-0ubuntu0.1+esm1 No fix listed
Show 2 more
ProductAffected versionsFixed in
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.17-0ubuntu0.1+esm2 No fix listed
ubuntu/ffmpeg(Ubuntu:Pro:16.04) = 7:2.8.17-0ubuntu0.1+esm3 No fix listed

References