« List of all CVEs

CVE-2024-47600

GHSL-2024-248: GStreamer has an OOB-read in format_channel_mask

Published: 12/11/2024 Last updated: 12/12/2024 Reserved: 9/27/2024

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.

CNA assigner: GitHub_M (a0819718-46f1-4df5-94e2-005712e83aaa) Requested by: n/a

Metrics

Version Score Severity Vector String
4.0 5.1 Medium 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

Opam packages affected (2)

conf-gstreamer gstreamer

Products affected (1)

Product Vendor Version
gstreamer gstreamer < c721324afc589f8ea54bae04756b150aeaae5fa4

References (3)