GHSL-2024-248: GStreamer has an OOB-read in format_channel_mask
Description
GStreamer is a library for constructing graphs of media-handling components. An OOB-read vulnerability has been detected in the format_channel_mask function in gst-discoverer.c. The vulnerability affects the local array position, which is defined with a fixed size of 64 elements. However, the function gst_discoverer_audio_info_get_channels may return a guint channels value greater than 64. This causes the for loop to attempt access beyond the bounds of the position array, resulting in an OOB-read when an index greater than 63 is used. This vulnerability can result in reading unintended bytes from the stack. Additionally, the dereference of value->value_nick after the OOB-read can lead to further memory corruption or undefined behavior. This vulnerability is fixed in 1.24.10.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
29- osv-coords27 versionspkg:rpm/almalinux/gstreamer1-plugins-basepkg:rpm/almalinux/gstreamer1-plugins-base-develpkg:rpm/almalinux/gstreamer1-plugins-base-toolspkg:rpm/opensuse/gstreamer-plugins-base&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/gstreamer-plugins-base&distro=openSUSE%20Tumbleweedpkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Enterprise%20Storage%207.1pkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSSpkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOSpkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSSpkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOSpkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSSpkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Enterprise%20Micro%205.4pkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Enterprise%20Micro%205.5pkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6pkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6pkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSSpkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSSpkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSSpkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3pkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4pkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5pkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Micro%206.0pkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Linux%20Micro%206.1pkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Manager%20Proxy%204.3pkg:rpm/suse/gstreamer-plugins-base&distro=SUSE%20Manager%20Server%204.3
< 1.22.12-4.el9+ 26 more
- (no CPE)range: < 1.22.12-4.el9
- (no CPE)range: < 1.22.12-4.el9
- (no CPE)range: < 1.22.12-4.el9
- (no CPE)range: < 1.24.0-150600.3.8.1
- (no CPE)range: < 1.24.10-2.1
- (no CPE)range: < 1.16.3-150200.4.19.1
- (no CPE)range: < 1.16.3-150200.4.19.1
- (no CPE)range: < 1.20.1-150400.3.11.1
- (no CPE)range: < 1.20.1-150400.3.11.1
- (no CPE)range: < 1.22.0-150500.3.11.1
- (no CPE)range: < 1.22.0-150500.3.11.1
- (no CPE)range: < 1.16.3-150200.4.19.1
- (no CPE)range: < 1.20.1-150400.3.11.1
- (no CPE)range: < 1.20.1-150400.3.11.1
- (no CPE)range: < 1.22.0-150500.3.11.1
- (no CPE)range: < 1.24.0-150600.3.8.1
- (no CPE)range: < 1.24.0-150600.3.8.1
- (no CPE)range: < 1.16.3-150200.4.19.1
- (no CPE)range: < 1.20.1-150400.3.11.1
- (no CPE)range: < 1.22.0-150500.3.11.1
- (no CPE)range: < 1.16.3-150200.4.19.1
- (no CPE)range: < 1.20.1-150400.3.11.1
- (no CPE)range: < 1.22.0-150500.3.11.1
- (no CPE)range: < 1.22.9-2.1
- (no CPE)range: < 1.24.7-slfo.1.1_2.1
- (no CPE)range: < 1.20.1-150400.3.11.1
- (no CPE)range: < 1.20.1-150400.3.11.1
Patches
Vulnerability mechanics
References
3- gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8034.patchmitrex_refsource_MISC
- gstreamer.freedesktop.org/security/sa-2024-0018.htmlmitrex_refsource_MISC
- securitylab.github.com/advisories/GHSL-2024-248_Gstreamer/mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.