CVE-2024-47607

GStreamer is a library for constructing graphs of media-handling components. stack-buffer overflow has been detected in the gst_opus_dec_parse_header function within `gstopusdec.c'. The pos array is a stack-allocated buffer of size 64. If n_channels exceeds 64, the for loop will write beyond the boundaries of the pos array. The value written will always be GST_AUDIO_CHANNEL_POSITION_NONE. This bug allows to overwrite the EIP address allocated in the stack. This vulnerability is fixed in 1.24.10.
Configurations

Configuration 1 (hide)

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

History

18 Dec 2024, 19:53

Type Values Removed Values Added
CWE CWE-787
First Time Gstreamer Project gstreamer
Gstreamer Project
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
Summary
  • (es) GStreamer es una librería para construir gráficos de componentes de manejo de medios. Se ha detectado un desbordamiento del búfer de pila en la función gst_opus_dec_parse_header dentro de `gstopusdec.c'. La matriz pos es un búfer asignado a la pila de tamaño 64. Si n_channels supera 64, el bucle for escribirá más allá de los límites de la matriz pos. El valor escrito siempre será GST_AUDIO_CHANNEL_POSITION_NONE. Este error permite sobrescribir la dirección EIP asignada en la pila. Esta vulnerabilidad se corrigió en 1.24.10.
CPE cpe:2.3:a:gstreamer_project:gstreamer:*:*:*:*:*:*:*:*
References () https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8037.patch - () https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8037.patch - Patch
References () https://gstreamer.freedesktop.org/security/sa-2024-0024.html - () https://gstreamer.freedesktop.org/security/sa-2024-0024.html - Release Notes
References () https://securitylab.github.com/advisories/GHSL-2024-115_GHSL-2024-118_Gstreamer/ - () https://securitylab.github.com/advisories/GHSL-2024-115_GHSL-2024-118_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 19:53


NVD link : CVE-2024-47607

Mitre link : CVE-2024-47607

CVE.ORG link : CVE-2024-47607


JSON object : View

Products Affected

gstreamer_project

  • gstreamer
CWE
CWE-121

Stack-based Buffer Overflow

CWE-787

Out-of-bounds Write