GHSL-2024-197: GStreamer uses uninitialized stack memory in Matroska/WebM demuxer
Description
GStreamer is a library for constructing graphs of media-handling components. An uninitialized stack variable vulnerability has been identified in the gst_matroska_demux_add_wvpk_header function within matroska-demux.c. When size < 4, the program calls gst_buffer_unmap with an uninitialized map variable. Then, in the gst_memory_unmap function, the program will attempt to unmap the buffer using the uninitialized map variable, causing a function pointer hijack, as it will jump to mem->allocator->mem_unmap_full or mem->allocator->mem_unmap. This vulnerability could allow an attacker to hijack the execution flow, potentially leading to code execution. This vulnerability is fixed in 1.24.10.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
26- osv-coords24 versionspkg:rpm/almalinux/gstreamer1-plugins-goodpkg:rpm/almalinux/gstreamer1-plugins-good-gtkpkg:rpm/opensuse/gstreamer-plugins-good&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/gstreamer-plugins-good&distro=openSUSE%20Tumbleweedpkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Enterprise%20Storage%207.1pkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSSpkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOSpkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSSpkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOSpkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSSpkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6pkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7pkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSSpkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSSpkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSSpkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSSpkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3pkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4pkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5pkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5pkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2015%20SP6pkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2015%20SP7pkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Manager%20Proxy%204.3pkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Manager%20Server%204.3
< 1.22.1-3.el9_5+ 23 more
- (no CPE)range: < 1.22.1-3.el9_5
- (no CPE)range: < 1.22.1-3.el9_5
- (no CPE)range: < 1.24.0-150600.3.3.1
- (no CPE)range: < 1.24.11-2.1
- (no CPE)range: < 1.16.3-150200.3.17.1
- (no CPE)range: < 1.16.3-150200.3.17.1
- (no CPE)range: < 1.20.1-150400.3.9.1
- (no CPE)range: < 1.20.1-150400.3.9.1
- (no CPE)range: < 1.22.0-150500.4.6.1
- (no CPE)range: < 1.22.0-150500.4.6.1
- (no CPE)range: < 1.24.0-150600.3.3.1
- (no CPE)range: < 1.24.0-150600.3.7.1
- (no CPE)range: < 1.8.3-16.12.1
- (no CPE)range: < 1.16.3-150200.3.17.1
- (no CPE)range: < 1.20.1-150400.3.9.1
- (no CPE)range: < 1.22.0-150500.4.6.1
- (no CPE)range: < 1.16.3-150200.3.17.1
- (no CPE)range: < 1.20.1-150400.3.9.1
- (no CPE)range: < 1.22.0-150500.4.6.1
- (no CPE)range: < 1.8.3-16.12.1
- (no CPE)range: < 1.24.0-150600.3.3.1
- (no CPE)range: < 1.24.0-150600.3.7.1
- (no CPE)range: < 1.20.1-150400.3.9.1
- (no CPE)range: < 1.20.1-150400.3.9.1
Patches
Vulnerability mechanics
References
3- gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8057.patchmitrex_refsource_MISC
- gstreamer.freedesktop.org/security/sa-2024-0017.htmlmitrex_refsource_MISC
- securitylab.github.com/advisories/GHSL-2024-197_GStreamer/mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.