Excessive Iteration Affecting ffmpeg4 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% (60th 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-ALPINE320-FFMPEG4-7009696
  • published23 May 2024
  • disclosed7 Sept 2017

Introduced: 7 Sep 2017

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

How to fix?

Upgrade Alpine:3.20 ffmpeg4 to version 3.3.4-r0 or higher.

NVD Description

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

In libavformat/nsvdec.c in FFmpeg 2.4 and 3.3.3, a DoS in nsv_parse_NSVf_header() due to lack of an EOF (End of File) check might cause huge CPU consumption. When a crafted NSV file, which claims a large "table_entries_used" field in the header but does not contain sufficient backing data, is provided, the loop over 'table_entries_used' would consume huge CPU resources, since there is no EOF check inside the loop.