CVE-2024-47600 GHSL-2024-248: GStreamer has an OOB-read in format_channel_mask
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
GStreamer is a library for constructing graphs of media-handling components. An OOB-read vulnerability has been detected in the format_channel_mask function in gst-discoverer.c. The vulnerability affects the local array position, which is defined with a fixed size of 64 elements. However, the function gst_discoverer_audio_info_get_channels may return a guint channels value greater than 64. This causes the for loop to attempt access beyond the bounds of the position array, resulting in an OOB-read when an index greater than 63 is used. This vulnerability can result in reading unintended bytes from the stack. Additionally, the dereference of value->value_nick after the OOB-read can lead to further memory corruption or undefined behavior. This vulnerability is fixed in 1.24.10.
Upgrade path
11 packages: 11 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/gst-plugins-base(Alpine v3.20) | < 1.24.10-r0 | 1.24.10-r0 | Fixed |
| alpine/gst-plugins-base(Alpine v3.21) | < 1.24.10-r0 | 1.24.10-r0 | Fixed |
| alpine/gst-plugins-base(Alpine v3.22) | < 1.24.10-r0 | 1.24.10-r0 | Fixed |
| alpine/gst-plugins-base(Alpine v3.23) | < 1.24.10-r0 | 1.24.10-r0 | Fixed |
| alpine/gst-plugins-base(Alpine v3.24) | < 1.24.10-r0 | 1.24.10-r0 | Fixed |
| debian/gst-plugins-base1.0(Debian 12) | < 1.22.0-3+deb12u3; = 1.22.0-3; = 1.22.0-3+deb12u1; = 1.22.0-3+deb12u2 | 1.22.0-3+deb12u3 | Fixed |
| debian/gst-plugins-base1.0(Debian 13) | < 1.24.10-1 | 1.24.10-1 | Fixed |
| debian/gst-plugins-base1.0(Debian 14) | < 1.24.10-1 | 1.24.10-1 | Fixed |
| GStreamer | < 1.24.10; = < 1.24.10 | 1.24.10 | Fixed |
| ubuntu/gst-plugins-base1.0(Ubuntu 22.04) | < 1.20.1-1ubuntu0.4 | 1.20.1-1ubuntu0.4 | Fixed |
| ubuntu/gst-plugins-base1.0(Ubuntu 24.04) | < 1.24.2-1ubuntu0.2 | 1.24.2-1ubuntu0.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/gst-plugins-base1.0(Debian:12) | < 1.22.0-3+deb12u3 | 1.22.0-3+deb12u3 |
| debian/gst-plugins-base1.0(Debian:12) | = 1.22.0-3 | No fix listed |
| debian/gst-plugins-base1.0(Debian:12) | = 1.22.0-3+deb12u1 | No fix listed |
| debian/gst-plugins-base1.0(Debian:12) | = 1.22.0-3+deb12u2 | No fix listed |
| debian/gst-plugins-base1.0(Debian:13) | < 1.24.10-1 | 1.24.10-1 |
| debian/gst-plugins-base1.0(Debian:14) | < 1.24.10-1 | 1.24.10-1 |
| ubuntu/gst-plugins-base1.0(Ubuntu:22.04) | < 1.20.1-1ubuntu0.4 | 1.20.1-1ubuntu0.4 |
| GStreamer | = < 1.24.10 | No fix listed |
| alpine/gst-plugins-base(Alpine:v3.20) | < 1.24.10-r0 | 1.24.10-r0 |
| alpine/gst-plugins-base(Alpine:v3.21) | < 1.24.10-r0 | 1.24.10-r0 |
| alpine/gst-plugins-base(Alpine:v3.22) | < 1.24.10-r0 | 1.24.10-r0 |
| alpine/gst-plugins-base(Alpine:v3.23) | < 1.24.10-r0 | 1.24.10-r0 |
| alpine/gst-plugins-base(Alpine:v3.24) | < 1.24.10-r0 | 1.24.10-r0 |
| ubuntu/gst-plugins-base1.0(Ubuntu:24.04) | < 1.24.2-1ubuntu0.2 | 1.24.2-1ubuntu0.2 |
| GStreamer | < 1.24.10 | 1.24.10 |
References
- Debian Security Tracker CVE-2024-47600 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7175-1 vendor-advisory
- USN-7807-1 vendor-advisory
- www.cve.org
- https://securitylab.github.com/advisories/GHSL-2024-248_Gstreamer/ third-party-advisory
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8034.patch patch
- https://gstreamer.freedesktop.org/security/sa-2024-0018.html release-notes
- lists.debian.org
- security.alpinelinux.org vendor-advisory