CVE-2017-5839
The gst_riff_create_audio_caps function in gst-libs/gst/riff/riff-media.c in gst-plugins-base in GStreamer before 1.10.3 does not properly limit recursion, which allows remote attackers to cause a denial of service (stack overflow and crash) via vectors involving nested WAVEFORMATEX.
What to do
Fixed builds are available from Alpine, Debian, Red Hat, 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 | gst-plugins-base0.10 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | gst-plugins-base1.0 | Fixed | 1.8.3-1ubuntu0.2 | UBUNTU-CVE-2017-5839 |
| Ubuntu 14.04 | gst-plugins-base0.10 | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | gst-plugins-base1.0 | Fixed | 1.2.4-1~ubuntu2.1 | UBUNTU-CVE-2017-5839 |
| Debian 14 | gst-plugins-base1.0 | Fixed | 1.10.3-1 | DEBIAN-CVE-2017-5839 |
| Debian 13 | gst-plugins-base1.0 | Fixed | 1.10.3-1 | DEBIAN-CVE-2017-5839 |
| Debian 12 | gst-plugins-base1.0 | Fixed | 1.10.3-1 | DEBIAN-CVE-2017-5839 |
| Red Hat Enterprise Linux 7 | clutter-gst2 | Fixed | 0:2.0.18-1.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | clutter-gst2-devel | Fixed | 0:2.0.18-1.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | gnome-video-effects | Fixed | 0:0.4.3-1.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | gstreamer-plugins-bad-free | Fixed | 0:0.10.23-23.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | gstreamer-plugins-bad-free-devel | Fixed | 0:0.10.23-23.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | gstreamer-plugins-bad-free-devel-docs | Fixed | 0:0.10.23-23.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | gstreamer-plugins-base | Not affected | ||
| Red Hat Enterprise Linux 7 | gstreamer-plugins-base-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | gstreamer-plugins-base-devel-docs | Not affected | ||
| Red Hat Enterprise Linux 7 | gstreamer-plugins-base-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | gstreamer-plugins-good | Fixed | 0:0.10.31-13.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | gstreamer-plugins-good-devel-docs | Fixed | 0:0.10.31-13.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | gstreamer1 | Fixed | 0:1.10.4-2.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | gstreamer1-devel | Fixed | 0:1.10.4-2.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | gstreamer1-devel-docs | Fixed | 0:1.10.4-2.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | gstreamer1-plugins-bad-free | Fixed | 0:1.10.4-2.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | gstreamer1-plugins-bad-free-devel | Fixed | 0:1.10.4-2.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | gstreamer1-plugins-bad-free-gtk | Fixed | 0:1.10.4-2.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | gstreamer1-plugins-base | Fixed | 0:1.10.4-1.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | gstreamer1-plugins-base-devel | Fixed | 0:1.10.4-1.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | gstreamer1-plugins-base-devel-docs | Fixed | 0:1.10.4-1.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | gstreamer1-plugins-base-tools | Fixed | 0:1.10.4-1.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | gstreamer1-plugins-good | Fixed | 0:1.10.4-2.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | orc | Fixed | 0:0.4.26-1.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | orc-compiler | Fixed | 0:0.4.26-1.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | orc-devel | Fixed | 0:0.4.26-1.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 7 | orc-doc | Fixed | 0:0.4.26-1.el7 | RHSA-2017:2060 |
| Red Hat Enterprise Linux 6 | gstreamer-plugins-base | Not affected | ||
| Red Hat Enterprise Linux 6 | gstreamer-plugins-base-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | gstreamer-plugins-base-devel-docs | Not affected | ||
| Red Hat Enterprise Linux 5 | gstreamer-plugins-base | Not affected | ||
| Alpine Linux 3.5 | gst-plugins-base1 | Fixed | 1.8.3-r0 | ALPINE-CVE-2017-5839 |
| Alpine Linux 3.4 | gst-plugins-base1 | Fixed | 1.8.3-r0 | ALPINE-CVE-2017-5839 |
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-3819 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:2060 (vendor-advisory)
- https://security.gentoo.org/glsa/201705-10 (vendor-advisory)
References
- http://www.securityfocus.com/bid/96001
- http://www.debian.org/security/2017/dsa-3819
- https://access.redhat.com/errata/RHSA-2017:2060
- http://www.openwall.com/lists/oss-security/2017/02/02/9
- https://bugzilla.gnome.org/show_bug.cgi?id=777265
- https://gstreamer.freedesktop.org/releases/1.10/#1.10.3
- https://security.gentoo.org/glsa/201705-10
- http://www.openwall.com/lists/oss-security/2017/02/01/7
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.