CVE-2017-14170
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | ffmpeg | Fixed | 7:2.8.14-0ubuntu0.16.04.1 | UBUNTU-CVE-2017-14170 |
| Debian 14 | ffmpeg | Fixed | 7:3.3.4-1 | DEBIAN-CVE-2017-14170 |
| Debian 13 | ffmpeg | Fixed | 7:3.3.4-1 | DEBIAN-CVE-2017-14170 |
| Debian 12 | ffmpeg | Fixed | 7:3.3.4-1 | DEBIAN-CVE-2017-14170 |
| Alpine Linux 3.24 | ffmpeg | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.23 | ffmpeg | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.22 | ffmpeg | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.22 | ffmpeg4 | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.21 | ffmpeg | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.21 | ffmpeg4 | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.20 | ffmpeg | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.20 | ffmpeg4 | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.19 | ffmpeg | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.19 | ffmpeg4 | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.18 | ffmpeg | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.18 | ffmpeg4 | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.17 | ffmpeg | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.17 | ffmpeg4 | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.16 | ffmpeg | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.16 | ffmpeg4 | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.15 | ffmpeg | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.14 | ffmpeg | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.13 | ffmpeg | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.12 | ffmpeg | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.11 | ffmpeg | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.10 | ffmpeg | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.9 | ffmpeg | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.8 | ffmpeg | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.7 | ffmpeg | Fixed | 3.3.4-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.6 | ffmpeg | Fixed | 3.2.8-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.5 | ffmpeg | Fixed | 3.1.11-r0 | ALPINE-CVE-2017-14170 |
| Alpine Linux 3.4 | ffmpeg | Fixed | 3.1.11-r0 | ALPINE-CVE-2017-14170 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.debian.org/security/2017/dsa-3996 (vendor-advisory)
References
- https://github.com/FFmpeg/FFmpeg/commit/900f39692ca0337a98a7cf047e4e2611071810c2
- http://www.securityfocus.com/bid/100700
- https://lists.debian.org/debian-lts-announce/2019/01/msg00006.html
- http://www.debian.org/security/2017/dsa-3996
- https://github.com/FFmpeg/FFmpeg/commit/f173cdfe669556aa92857adafe60cbe5f2aa1210
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.