Unchecked Return Value Affecting ffmpeg package, versions <4.4.1-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-ALPINE321-FFMPEG-8484001
  • published6 Dec 2024
  • 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 Alpine:3.21 ffmpeg to version 4.4.1-r0 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 Alpine. See How to fix? for Alpine:3.21 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