Unchecked Return Value Affecting ffmpeg package, versions <7:4.2.7-0ubuntu0.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.64% (80th 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-UBUNTU2004-FFMPEG-1569330
  • published24 Aug 2021
  • disclosed21 Aug 2021

Introduced: 21 Aug 2021

CVE-2021-38171  (opens in a new tab)
CWE-252  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 ffmpeg to version 7:4.2.7-0ubuntu0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ffmpeg package and not the ffmpeg package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

adts_decode_extradata in libavformat/adtsenc.c in FFmpeg 4.4 does not check the init_get_bits return value, which is a necessary step because the second argument to init_get_bits can be crafted.

CVSS Scores

version 3.1