CVE-2024-47538
gstreamer1-plugins-base: GStreamer has a stack-buffer overflow in vorbis_handle_identification_packet
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (high), AlmaLinux (high), Amazon (high), Oracle (high), Rocky Linux (high), Ubuntu (medium).
Description
GStreamer is a library for constructing graphs of media-handling components. A stack-buffer overflow has been detected in the `vorbis_handle_identification_packet` function within `gstvorbisdec.c`. The position array is a stack-allocated buffer of size 64. If vd->vi.channels exceeds 64, the for loop will write beyond the boundaries of the position array. The value written will always be `GST_AUDIO_CHANNEL_POSITION_NONE`. This vulnerability allows someone to overwrite the EIP address allocated in the stack. Additionally, this bug can overwrite the `GstAudioInfo` info structure. This vulnerability is fixed in 1.24.10.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 4.0 | gstreamer, gstreamer-devel | 1.25.1-1.ph4 |
| Photon OS 5.0 | gstreamer, gstreamer-devel | 1.25.1-1.ph5 |
| alma 8 | gstreamer1-plugins-base, gstreamer1-plugins-base-devel | 1.16.1-5.el8_10 |
| alma 9 | gstreamer1-plugins-base, gstreamer1-plugins-base-devel, gstreamer1-plugins-base-tools | 1.22.1-3.el9_5 |
| alpine 3.20 | gst-plugins-base | 1.24.10-r0 |
| alpine 3.21 | gst-plugins-base | 1.24.10-r0 |
| alpine 3.22 | gst-plugins-base | 1.24.10-r0 |
| alpine 3.23 | gst-plugins-base | 1.24.10-r0 |
| alpine 3.24 | gst-plugins-base | 1.24.10-r0 |
| alpine edge | gst-plugins-base | 1.24.10-r0 |
| amazon linux 2 | gstreamer1-plugins-base, gstreamer1-plugins-base-debuginfo, gstreamer1-plugins-base-devel and 1 more | 1.18.4-5.amzn2.0.7 |
| debian 11 | gst-plugins-base1.0 | 1.18.4-2+deb11u3 |
Show all 56 entries from 36 sources
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 4.0 | gstreamer | 1.25.1-1.ph4 |
| Photon OS 4.0 | gstreamer-devel | 1.25.1-1.ph4 |
| Photon OS 5.0 | gstreamer | 1.25.1-1.ph5 |
| Photon OS 5.0 | gstreamer-devel | 1.25.1-1.ph5 |
| alma 8 | gstreamer1-plugins-base | 1.16.1-5.el8_10 |
| alma 8 | gstreamer1-plugins-base-devel | 1.16.1-5.el8_10 |
| alma 9 | gstreamer1-plugins-base | 1.22.1-3.el9_5 |
| alma 9 | gstreamer1-plugins-base-devel | 1.22.1-3.el9_5 |
| alma 9 | gstreamer1-plugins-base-tools | 1.22.1-3.el9_5 |
| alpine 3.20 | gst-plugins-base | 1.24.10-r0 |
| alpine 3.21 | gst-plugins-base | 1.24.10-r0 |
| alpine 3.22 | gst-plugins-base | 1.24.10-r0 |
| alpine 3.23 | gst-plugins-base | 1.24.10-r0 |
| alpine 3.24 | gst-plugins-base | 1.24.10-r0 |
| alpine edge | gst-plugins-base | 1.24.10-r0 |
| amazon linux 2 | gstreamer1-plugins-base | 1.18.4-5.amzn2.0.7 |
| amazon linux 2 | gstreamer1-plugins-base-debuginfo | 1.18.4-5.amzn2.0.7 |
| amazon linux 2 | gstreamer1-plugins-base-devel | 1.18.4-5.amzn2.0.7 |
| amazon linux 2 | gstreamer1-plugins-base-tools | 1.18.4-5.amzn2.0.7 |
| debian 11 | gst-plugins-base1.0 | 1.18.4-2+deb11u3 |
| debian 12 | gst-plugins-base1.0 | 1.22.0-3+deb12u3 |
| debian 13 | gst-plugins-base1.0 | 1.24.10-1 |
| debian 14 | gst-plugins-base1.0 | 1.24.10-1 |
| echo | gst-plugins-base1.0 | 1.22.0-3+deb12u3 |
| Oracle Linux 7 | gstreamer1-plugins-base | 1.10.4-2.0.1.el7 |
| Oracle Linux 7 | gstreamer1-plugins-base-devel | 1.10.4-2.0.1.el7 |
| Oracle Linux 7 | gstreamer1-plugins-base-devel-docs | 1.10.4-2.0.1.el7 |
| Oracle Linux 7 | gstreamer1-plugins-base-tools | 1.10.4-2.0.1.el7 |
| Oracle Linux 7 | gstreamer1-plugins-good | 1.10.4-2.0.1.el7 |
| Oracle Linux 8 | gstreamer1-plugins-base | 1.16.1-5.0.1.el8_10 |
| Oracle Linux 8 | gstreamer1-plugins-base-devel | 1.16.1-5.0.1.el8_10 |
| Oracle Linux 9 | gstreamer1-plugins-base | 1.22.1-3.el9_5 |
| Oracle Linux 9 | gstreamer1-plugins-base-devel | 1.22.1-3.el9_5 |
| Oracle Linux 9 | gstreamer1-plugins-base-tools | 1.22.1-3.el9_5 |
| rapidfort alpine 3.20 | gstreamer | 1.24.10-r0 |
| rapidfort alpine 3.21 | gstreamer | 1.24.10-r0 |
| rapidfort alpine 3.22 | gstreamer | 1.24.10-r0 |
| rapidfort alpine 3.23 | gstreamer | 1.24.10-r0 |
| rapidfort alpine 3.24 | gstreamer | 1.24.10-r0 |
| rapidfort debian 12 | gst-plugins-base1.0 | 0:1.24.10-1 |
| rapidfort debian 13 | gst-plugins-base1.0 | 0:1.24.10-1 |
| rapidfort Oracle Linux 9 | gstreamer1-plugins-base | 0:1.22.1-3.el9_5 |
| rapidfort Oracle Linux 9 | gstreamer1-plugins-base-devel | 0:1.22.1-3.el9_5 |
| rapidfort Oracle Linux 9 | gstreamer1-plugins-base-tools | 0:1.22.1-3.el9_5 |
| rocky 8 | gstreamer1-plugins-base | 1.16.1-5.el8_10 |
| rocky 8 | gstreamer1-plugins-base-devel | 1.16.1-5.el8_10 |
| rocky 9 | gstreamer1-plugins-base | 1.22.1-3.el9_5 |
| rocky 9 | gstreamer1-plugins-base-devel | 1.22.1-3.el9_5 |
| rocky 9 | gstreamer1-plugins-base-tools | 1.22.1-3.el9_5 |
| ubuntu 16.04-ESM | gst-plugins-base1.0 | 1.8.3-1ubuntu0.3+esm2 |
| ubuntu 18.04-ESM | gst-plugins-base1.0 | 1.14.5-0ubuntu1~18.04.3+esm1 |
| ubuntu 20.04 | gst-plugins-base1.0 | 1.16.3-0ubuntu1.4 |
| ubuntu 20.04-ESM | gst-plugins-base1.0 | 1.16.3-0ubuntu1.4 |
| ubuntu 22.04 | gst-plugins-base1.0 | 1.20.1-1ubuntu0.4 |
| ubuntu 24.04 | gst-plugins-base1.0 | 1.24.2-1ubuntu0.2 |
| ubuntu 24.10 | gst-plugins-base1.0 | 1.24.8-1ubuntu0.1 |
References
- https://access.redhat.com/errata/RHSA-2024:11123
- https://access.redhat.com/security/cve/CVE-2024-47538
- https://bugzilla.redhat.com/2331727
- https://bugzilla.redhat.com/2331740
- https://bugzilla.redhat.com/2331754
- https://bugzilla.redhat.com/show_bug.cgi?id=2331727
- https://bugzilla.redhat.com/show_bug.cgi?id=2331740
- https://bugzilla.redhat.com/show_bug.cgi?id=2331754
All 24 references
- https://creativecommons.org/licenses/by/4.0/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47538
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47607
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47615
- https://errata.almalinux.org/9/ALSA-2024-11123.html
- https://errata.rockylinux.org/RLSA-2024:11123
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8035.patch
- https://gstreamer.freedesktop.org/security/sa-2024-0022.html
- https://linux.oracle.com/cve/CVE-2024-47538.html
- https://linux.oracle.com/errata/ELSA-2024-11345.html
- https://lists.debian.org/debian-lts-announce/2024/12/msg00021.html
- https://nvd.nist.gov/vuln/detail/CVE-2024-47538
- https://securitylab.github.com/advisories/GHSL-2024-115_GHSL-2024-118_Gstreamer/
- https://ubuntu.com/security/notices/USN-7175-1
- https://ubuntu.com/security/notices/USN-7807-1
- https://www.cve.org/CVERecord?id=CVE-2024-47538