CVE-2021-3566 Affecting ffmpeg package, versions [,4.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-FFMPEG-2368918
  • published26 Jan 2022
  • disclosed5 Aug 2021
  • creditUnknown

Introduced: 5 Aug 2021

CVE-2021-3566  (opens in a new tab)

How to fix?

Upgrade ffmpeg to version 4.3 or higher.

Overview

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).

References

CVSS Scores

version 3.1