GHSL-2024-228: GStreamer has an out-of-bounds write in SSA subtitle parser
Description
GStreamer is a library for constructing graphs of media-handling components. An OOB-write vulnerability has been identified in the gst_ssa_parse_remove_override_codes function of the gstssaparse.c file. This function is responsible for parsing and removing SSA (SubStation Alpha) style override codes, which are enclosed in curly brackets ({}). The issue arises when a closing curly bracket "}" appears before an opening curly bracket "{" in the input string. In this case, memmove() incorrectly duplicates a substring. With each successive loop iteration, the size passed to memmove() becomes progressively larger (strlen(end+1)), leading to a write beyond the allocated memory bounds. This vulnerability is fixed in 1.24.10.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
30- osv-coords28 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/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%2012%20SP5-LTSSpkg: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%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%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+ 27 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.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.8.3-13.18.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.8.3-13.18.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/8036.patchmitrex_refsource_MISC
- gstreamer.freedesktop.org/security/sa-2024-0023.htmlmitrex_refsource_MISC
- securitylab.github.com/advisories/GHSL-2024-228_GStreamer/mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.