USN-5472-1: FFmpeg vulnerabilities

Publication date

8 June 2022

Overview

Several security issues were fixed in FFmpeg.


Packages

  • ffmpeg - Tools for transcoding, streaming and playing of multimedia files

Details

It was discovered that FFmpeg would attempt to divide by zero when using Linear
Predictive Coding (LPC) or AAC codecs. An attacker could possibly use this
issue to cause a denial of service. This issue only affected Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS and Ubuntu 21.10. (CVE-2020-20445, CVE-2020-20446,
CVE-2020-20453)

It was discovered that FFmpeg incorrectly handled certain input. An attacker
could possibly use this issue to cause a denial of service. This issue only
affected Ubuntu 20.04 LTS. (CVE-2020-20450)

It was discovered that FFmpeg incorrectly handled file conversion to APNG
format. An attacker could possibly use this issue to cause a denial of
service. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.
(

It was discovered that FFmpeg would attempt to divide by zero when using Linear
Predictive Coding (LPC) or AAC codecs. An attacker could possibly use this
issue to cause a denial of service. This issue only affected Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS and Ubuntu 21.10. (CVE-2020-20445, CVE-2020-20446,
CVE-2020-20453)

It was discovered that FFmpeg incorrectly handled certain input. An attacker
could possibly use this issue to cause a denial of service. This issue only
affected Ubuntu 20.04 LTS. (CVE-2020-20450)

It was discovered that FFmpeg incorrectly handled file conversion to APNG
format. An attacker could possibly use this issue to cause a denial of
service. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.
(CVE-2020-21041)

It was discovered that FFmpeg incorrectly handled remuxing RTP-hint tracks.
A remote attacker could possibly use this issue to execute arbitrary code.
This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.
(CVE-2020-21688)

It was discovered that FFmpeg incorrectly handled certain specially crafted
AVI files. An attacker could possibly use this issue to cause a denial of
service. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.
(CVE-2020-21697)

It was discovered that FFmpeg incorrectly handled writing MOV video tags. An
attacker could possibly use this issue to cause a denial of service, obtain
sensitive information or execute arbitrary code. This issue only affected
Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 21.10. (CVE-2020-22015)

It was discovered that FFmpeg incorrectly handled writing MOV files. An
attacker could possibly use this issue to cause a denial of service or other
unspecified impact. This issue affected only Ubuntu 18.04 LTS. (CVE-2020-22016)

It was discovered that FFmpeg incorrectly handled memory when using certain
filters. An attacker could possibly use this issue to cause a denial of service
or other unspecified impact. This issue only affected Ubuntu 18.04 LTS and
Ubuntu 20.04 LTS. (CVE-2020-22017, CVE-2020-22020, CVE-2020-22022,
CVE-2020-22023, CVE-2022-22025, CVE-2020-22026, CVE-2020-22028, CVE-2020-22031,
CVE-2020-22032, CVE-2020-22034, CVE-2020-22036, CVE-2020-22042)

It was discovered that FFmpeg incorrectly handled memory when using certain
filters. An attacker could possibly use this issue to cause a denial of service
or other unspecified impact. This issue only affected Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS and Ubuntu 21.10. (CVE-2020-22019, CVE-2020-22021,
CVE-2020-22033)

It was discovered that FFmpeg incorrectly handled memory when using certain
filters. An attacker could possibly use this issue to cause a denial of service
or other unspecified impact. This issue only affected Ubuntu 21.10.
(CVE-2020-22027, CVE-2020-22029, CVE-2020-22030, CVE-2020-22035)

It was discovered that FFmpeg incorrectly handled certain specially crafted
JPEG files. An attacker could possibly use this issue to obtain sensitive
information. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and
Ubuntu 21.10. (CVE-2020-22037)

It was discovered that FFmpeg incorrectly performed calculations in EXR codec.
An attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-35965)

It was discovered that FFmpeg did not verify return values of functions
init_vlc and init_get_bits. An attacker could possibly use this issue to cause
a denial of service or other unspecified impact. This issue only affected
Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 21.10. (CVE-2021-38114,
CVE-2021-38171)

It was discovered that FFmpeg incorrectly handled certain specially crafted
files. An attacker could possibly use this issue to cause a denial of service.
This issue only affected Ubuntu 21.10 and Ubuntu 22.04 LTS. (CVE-2022-1475)


Update instructions

This update uses a new upstream release, which includes additional bug fixes. In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
22.04 jammy libswscale5 –  7:4.4.2-0ubuntu0.22.04.1
libavdevice58 –  7:4.4.2-0ubuntu0.22.04.1
libavformat-extra58 –  7:4.4.2-0ubuntu0.22.04.1
libavcodec-extra58 –  7:4.4.2-0ubuntu0.22.04.1
libavformat58 –  7:4.4.2-0ubuntu0.22.04.1
libavfilter-extra7 –  7:4.4.2-0ubuntu0.22.04.1
libavutil56 –  7:4.4.2-0ubuntu0.22.04.1
libavfilter7 –  7:4.4.2-0ubuntu0.22.04.1
ffmpeg –  7:4.4.2-0ubuntu0.22.04.1
libavcodec58 –  7:4.4.2-0ubuntu0.22.04.1
libpostproc55 –  7:4.4.2-0ubuntu0.22.04.1
libswresample3 –  7:4.4.2-0ubuntu0.22.04.1
21.10 impish libswscale5 –  7:4.4.2-0ubuntu0.21.10.1
libavdevice58 –  7:4.4.2-0ubuntu0.21.10.1
libavformat-extra58 –  7:4.4.2-0ubuntu0.21.10.1
libavcodec-extra58 –  7:4.4.2-0ubuntu0.21.10.1
libavformat58 –  7:4.4.2-0ubuntu0.21.10.1
libavfilter-extra7 –  7:4.4.2-0ubuntu0.21.10.1
libavutil56 –  7:4.4.2-0ubuntu0.21.10.1
libavfilter7 –  7:4.4.2-0ubuntu0.21.10.1
ffmpeg –  7:4.4.2-0ubuntu0.21.10.1
libavcodec58 –  7:4.4.2-0ubuntu0.21.10.1
libpostproc55 –  7:4.4.2-0ubuntu0.21.10.1
libswresample3 –  7:4.4.2-0ubuntu0.21.10.1
20.04 focal libswscale5 –  7:4.2.7-0ubuntu0.1
libavdevice58 –  7:4.2.7-0ubuntu0.1
libpostproc55 –  7:4.2.7-0ubuntu0.1
libavcodec-extra58 –  7:4.2.7-0ubuntu0.1
libavformat58 –  7:4.2.7-0ubuntu0.1
libavfilter-extra7 –  7:4.2.7-0ubuntu0.1
libavutil56 –  7:4.2.7-0ubuntu0.1
libavresample4 –  7:4.2.7-0ubuntu0.1
ffmpeg –  7:4.2.7-0ubuntu0.1
libavcodec58 –  7:4.2.7-0ubuntu0.1
libavfilter7 –  7:4.2.7-0ubuntu0.1
libswresample3 –  7:4.2.7-0ubuntu0.1
18.04 bionic libswscale4 –  7:3.4.11-0ubuntu0.1
libpostproc54 –  7:3.4.11-0ubuntu0.1
libavdevice57 –  7:3.4.11-0ubuntu0.1
libavformat57 –  7:3.4.11-0ubuntu0.1
libavutil55 –  7:3.4.11-0ubuntu0.1
libavfilter-extra6 –  7:3.4.11-0ubuntu0.1
libavresample3 –  7:3.4.11-0ubuntu0.1
libavfilter6 –  7:3.4.11-0ubuntu0.1
libavcodec-extra57 –  7:3.4.11-0ubuntu0.1
libavcodec57 –  7:3.4.11-0ubuntu0.1
ffmpeg –  7:3.4.11-0ubuntu0.1
libswresample2 –  7:3.4.11-0ubuntu0.1

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›