USN-5167-1: FFmpeg vulnerabilities
13 June 2022
Several security issues were fixed in FFmpeg.
Releases
Packages
- ffmpeg - Tools for transcoding, streaming and playing of multimedia files
Details
It was discovered that FFmpeg did not properly verify certain input when
processing video and audio files. An attacker could possibly use this to send
specially crafted input to the application, force a division by zero, and
cause a denial of service (application crash). (CVE-2020-20445, CVE-2020-20446,
CVE-2020-20453, CVE-2020-20892)
It was discovered that FFmpeg did not properly perform certain bit shift and
memory operations. An attacker could possibly use this issue to expose
sensitive information. (CVE-2020-20902)
It was discovered that FFmpeg did not properly perform memory management
operations in various of its functions. An attacker could possibly use this
issue to send specially crafted input to the application and cause a denial of
service (application crash) or execute arbitrary code. (CVE-2020-21041,
CVE-2020-20451, CVE-2020-21688, CVE-2020-21697, CVE-2020-22020,
CVE-2020-22021, CVE-2020-22022, CVE-2020-22025, CVE-2020-22031,
CVE-2020-22032, CVE-2020-22037, CVE-2020-22040, CVE-2020-22041,
CVE-2020-22042, CVE-2020-22044)
It was discovered that FFmpeg did not properly perform memory management
operations in various of its functions. An attacker could possibly use this
issue to send specially crafted input to the application and cause a denial of
service (application crash) or execute arbitrary code. (CVE-2020-22016,
CVE-2020-22046, CVE-2020-22049, CVE-2020-22054)
It was discovered that FFmpeg did not properly perform memory management
operations in various of its functions. An attacker could possibly use this
issue to send specially crafted input to the application and cause a denial of
service (application crash) or execute arbitrary code. (CVE-2020-35965)
It was discovered that FFmpeg did not properly handle data assigned to the tty
demuxer. An attacker could possibly use this issue to send specially crafted
input to the application and expose sensitive information. (CVE-2021-3566)
It was discovered that FFmpeg did not perform checks on function return
values when encoding and formatting input video and audio files. An attacker
could possibly use this issue to cause a denial of service (application crash)
or execute arbitrary code. (CVE-2021-38114, CVE-2021-38171)
It was discovered that FFmpeg did not properly sanitize function returned data
when calculating frame duration values. An attacker could possibly use this
issue to cause an assertion failure and then cause a denial of service
(application crash). (CVE-2021-38291)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 16.04
-
libswresample-ffmpeg1
-
7:2.8.17-0ubuntu0.1+esm4
Available with Ubuntu Pro
-
libavresample-ffmpeg2
-
7:2.8.17-0ubuntu0.1+esm4
Available with Ubuntu Pro
-
libavcodec-extra
-
7:2.8.17-0ubuntu0.1+esm4
Available with Ubuntu Pro
-
libswscale-ffmpeg3
-
7:2.8.17-0ubuntu0.1+esm4
Available with Ubuntu Pro
-
libavfilter-ffmpeg5
-
7:2.8.17-0ubuntu0.1+esm4
Available with Ubuntu Pro
-
libpostproc-ffmpeg53
-
7:2.8.17-0ubuntu0.1+esm4
Available with Ubuntu Pro
-
libavcodec-ffmpeg56
-
7:2.8.17-0ubuntu0.1+esm4
Available with Ubuntu Pro
-
libavformat-ffmpeg56
-
7:2.8.17-0ubuntu0.1+esm4
Available with Ubuntu Pro
-
libavcodec-ffmpeg-extra56
-
7:2.8.17-0ubuntu0.1+esm4
Available with Ubuntu Pro
-
ffmpeg
-
7:2.8.17-0ubuntu0.1+esm4
Available with Ubuntu Pro
-
libavutil-ffmpeg54
-
7:2.8.17-0ubuntu0.1+esm4
Available with Ubuntu Pro
-
libavdevice-ffmpeg56
-
7:2.8.17-0ubuntu0.1+esm4
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.
References
- CVE-2020-35965
- CVE-2020-22031
- CVE-2021-38171
- CVE-2020-20902
- CVE-2020-20892
- CVE-2020-21697
- CVE-2021-3566
- CVE-2020-22049
- CVE-2020-22044
- CVE-2021-38114
- CVE-2020-22020
- CVE-2020-22021
- CVE-2020-22041
- CVE-2020-20453
- CVE-2020-22046
- CVE-2020-22025
- CVE-2020-22040
- CVE-2020-22032
- CVE-2020-20446
- CVE-2020-21041
- CVE-2020-22022
- CVE-2020-22016
- CVE-2020-21688
- CVE-2020-20451
- CVE-2020-22037
- CVE-2020-22054
- CVE-2020-22042
- CVE-2021-38291
- CVE-2020-20445
Related notices
- USN-5472-1: libswscale4, libavcodec-extra57, libavutil56, libswresample-dev, libavutil55, libavformat-dev, libavfilter-extra6, libavcodec-extra, libavdevice58, libavfilter6, libavcodec57, libavformat57, libswscale5, libpostproc54, libavfilter-dev, libavformat58, ffmpeg-doc, libavcodec-dev, libavformat-extra58, libavfilter7, libpostproc-dev, libswresample3, libavformat-extra, libavdevice-dev, libavdevice57, ffmpeg, libavcodec58, libavresample4, libavfilter-extra, libavutil-dev, libswscale-dev, libavresample3, libavfilter-extra7, libavcodec-extra58, libavresample-dev, libpostproc55, libswresample2
- USN-6430-1: libswscale4, libavcodec-extra57, libavformat-ffmpeg56, libavresample-ffmpeg2, libavfilter-ffmpeg5, libavutil56, libswresample-dev, libavutil55, libswscale-ffmpeg3, libavcodec-ffmpeg56, libavformat-dev, libavfilter-extra6, libavcodec-extra, libavdevice58, libavfilter6, libavcodec57, libavformat57, libswscale5, libpostproc54, libpostproc-ffmpeg53, libavfilter-dev, libavformat58, ffmpeg-doc, libavcodec-ffmpeg-extra56, libavcodec-dev, libavfilter7, libpostproc-dev, libswresample3, libavdevice-dev, libavdevice57, ffmpeg, libswresample-ffmpeg1, libavutil-ffmpeg54, libavcodec58, libavresample4, libavfilter-extra, libav-tools, libavutil-dev, libavresample3, libswscale-dev, libavfilter-extra7, libavcodec-extra58, libavdevice-ffmpeg56, libavresample-dev, libpostproc55, libswresample2