Excessive Iteration Affecting ffmpeg package, versions <3.3.4-r0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.22% (61st 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-ALPINE312-FFMPEG-589504
  • published7 Sept 2017
  • disclosed7 Sept 2017

Introduced: 7 Sep 2017

CVE-2017-14170  (opens in a new tab)
CWE-834  (opens in a new tab)

How to fix?

Upgrade Alpine:3.12 ffmpeg to version 3.3.4-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.12 relevant fixed versions and status.

In libavformat/mxfdec.c in FFmpeg 3.3.3 -> 2.4, a DoS in mxf_read_index_entry_array() due to lack of an EOF (End of File) check might cause huge CPU consumption. When a crafted MXF file, which claims a large "nb_index_entries" field in the header but does not contain sufficient backing data, is provided, the loop would consume huge CPU resources, since there is no EOF check inside the loop. Moreover, this big loop can be invoked multiple times if there is more than one applicable data segment in the crafted MXF file.