GHSL-2024-094: GStreamer has an OOB-write in isomp4/qtdemux.c
Description
GStreamer is a library for constructing graphs of media-handling components. The program attempts to reallocate the memory pointed to by stream->samples to accommodate stream->n_samples + samples_count elements of type QtDemuxSample. The problem is that samples_count is read from the input file. And if this value is big enough, this can lead to an integer overflow during the addition. As a consequence, g_try_renew might allocate memory for a significantly smaller number of elements than intended. Following this, the program iterates through samples_count elements and attempts to write samples_count number of elements, potentially exceeding the actual allocated memory size and causing an OOB-write. This vulnerability is fixed in 1.24.10.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
24- osv-coords22 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%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%20Manager%20Proxy%204.3pkg:rpm/suse/gstreamer-plugins-good&distro=SUSE%20Manager%20Server%204.3
< 1.22.1-3.el9_5+ 21 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.10-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.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.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/8059.patchmitrex_refsource_MISC
- gstreamer.freedesktop.org/security/sa-2024-0005.htmlmitrex_refsource_MISC
- securitylab.github.com/advisories/GHSL-2024-094_Gstreamer/mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.