GHSL-2024-280: Gstreamer Use-After-Free read in Matroska CodecPrivate
Description
GStreamer is a library for constructing graphs of media-handling components. An Use-After-Free read vulnerability has been discovered affecting the processing of CodecPrivate elements in Matroska streams. In the GST_MATROSKA_ID_CODECPRIVATE case within the gst_matroska_demux_parse_stream function, a data chunk is allocated using gst_ebml_read_binary. Later, the allocated memory is freed in the gst_matroska_track_free function, by the call to g_free (track->codec_priv). Finally, the freed memory is accessed in the caps_serialize function through gst_value_serialize_buffer. The freed memory will be accessed in the gst_value_serialize_buffer function. This results in a UAF read vulnerability, as the function tries to process memory that has already been freed. This vulnerability is fixed in 1.24.10.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
23- osv-coords21 versionspkg:rpm/almalinux/gstreamer1-plugins-goodpkg:rpm/almalinux/gstreamer1-plugins-good-gtkpkg:rpm/opensuse/gstreamer-plugins-good&distro=openSUSE%20Leap%2015.6pkg: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.12-4.el9+ 20 more
- (no CPE)range: < 1.22.12-4.el9
- (no CPE)range: < 1.22.12-4.el9
- (no CPE)range: < 1.24.0-150600.3.3.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/8057.patchmitrex_refsource_MISC
- gstreamer.freedesktop.org/security/sa-2024-0030.htmlmitrex_refsource_MISC
- securitylab.github.com/advisories/GHSL-2024-280_Gstreamer/mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.