Name | CVE-2024-47541 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3999-1, DSA-5831-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
gst-plugins-base0.10 (PTS) | jessie, jessie (lts) | 0.10.36-2+deb8u4 | vulnerable |
gst-plugins-base1.0 (PTS) | jessie, jessie (lts) | 1.4.4-2+deb8u5 | vulnerable |
stretch (security) | 1.10.4-1+deb9u2 | vulnerable | |
stretch (lts), stretch | 1.10.4-1+deb9u4 | vulnerable | |
buster (security), buster, buster (lts) | 1.14.4-2+deb10u3 | vulnerable | |
bullseye | 1.18.4-2+deb11u2 | vulnerable | |
bullseye (security) | 1.18.4-2+deb11u3 | fixed | |
bookworm | 1.22.0-3+deb12u2 | vulnerable | |
bookworm (security) | 1.22.0-3+deb12u3 | fixed | |
sid, trixie | 1.24.10-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
gst-plugins-base0.10 | source | (unstable) | (unfixed) | |||
gst-plugins-base1.0 | source | bullseye | 1.18.4-2+deb11u3 | DLA-3999-1 | ||
gst-plugins-base1.0 | source | bookworm | 1.22.0-3+deb12u3 | DSA-5831-1 | ||
gst-plugins-base1.0 | source | (unstable) | 1.24.10-1 |
https://securitylab.github.com/advisories/GHSL-2024-228_GStreamer/
https://gstreamer.freedesktop.org/security/sa-2024-0023.html
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3870
Fixed by: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/403b10eba06679319aa2e35d310236234782102f
Fixed by: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/15bb318416e1bf6b6b557006a37d1da86c3a76a8
Fixed by: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/b66cf81e99ab9f400b6aea79a4b597c5ddac324d (1.24.10)
Fixed by: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/7108073b5be73eb2482eb8494745962b8c0571f1 (1.24.10)