CVE-2024-47600
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.
CVSS Details
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Threat Intelligence
Weaknesses 1
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| gstreamer | gstreamer | * | <1.24.10 |
References 4
- gitlab.freedesktop.org https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8034.patch
- gstreamer.freedesktop.org https://gstreamer.freedesktop.org/security/sa-2024-0018.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/12/msg00021.html
- securitylab.github.com https://securitylab.github.com/advisories/GHSL-2024-248_Gstreamer/
Remediation
- gitlab.freedesktop.org https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8034.patch