CVE-2024-47600

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gstreamer_project:gstreamer:*:*:*:*:*:*:*:*

History

18 Dec 2024, 21:43

Type Values Removed Values Added
First Time Gstreamer Project gstreamer
Gstreamer Project
Summary
  • (es) GStreamer es una librería para construir gráficos de componentes de manejo de medios. Se ha detectado una vulnerabilidad de lectura OOB en la función format_channel_mask en gst-discoverer.c. La vulnerabilidad afecta a la posición de la matriz local, que se define con un tamaño fijo de 64 elementos. Sin embargo, la función gst_discoverer_audio_info_get_channels puede devolver un valor de canales guint mayor que 64. Esto hace que el bucle for intente acceder más allá de los límites de la matriz de posición, lo que da como resultado una lectura OOB cuando se utiliza un índice mayor que 63. Esta vulnerabilidad puede dar como resultado la lectura de bytes no deseados de la pila. Además, la desreferencia de value->value_nick después de la lectura OOB puede provocar una mayor corrupción de la memoria o un comportamiento indefinido. Esta vulnerabilidad se corrigió en 1.24.10.
CPE cpe:2.3:a:gstreamer_project:gstreamer:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1
References () https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8034.patch - () https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8034.patch - Patch
References () https://gstreamer.freedesktop.org/security/sa-2024-0018.html - () https://gstreamer.freedesktop.org/security/sa-2024-0018.html - Release Notes
References () https://securitylab.github.com/advisories/GHSL-2024-248_Gstreamer/ - () https://securitylab.github.com/advisories/GHSL-2024-248_Gstreamer/ - Third Party Advisory

12 Dec 2024, 02:03

Type Values Removed Values Added
New CVE

Information

Published : 2024-12-12 02:03

Updated : 2024-12-18 21:43


NVD link : CVE-2024-47600

Mitre link : CVE-2024-47600

CVE.ORG link : CVE-2024-47600


JSON object : View

Products Affected

gstreamer_project

  • gstreamer
CWE
CWE-125

Out-of-bounds Read