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.28% (69th 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-589499
  • published9 Sept 2017
  • disclosed9 Sept 2017

Introduced: 9 Sep 2017

CVE-2017-14222  (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/mov.c in FFmpeg 3.3.3, a DoS in read_tfra() due to lack of an EOF (End of File) check might cause huge CPU and memory consumption. When a crafted MOV file, which claims a large "item_count" field in the header but does not contain sufficient backing data, is provided, the loop would consume huge CPU and memory resources, since there is no EOF check inside the loop.