Paper/Archive/CVE-2024-47538

CVE-2024-47538

gstreamer gstreamer — GHSL-2024-115: GStreamer has a stack-buffer overflow in vorbis_handle_identification_packet

Description · from the CVE record

GStreamer is a library for constructing graphs of media-handling components. A stack-buffer overflow has been detected in the `vorbis_handle_identification_packet` function within `gstvorbisdec.c`. The position array is a stack-allocated buffer of size 64. If vd->vi.channels exceeds 64, the for loop will write beyond the boundaries of the position array. The value written will always be `GST_AUDIO_CHANNEL_POSITION_NONE`. This vulnerability allows someone to overwrite the EIP address allocated in the stack. Additionally, this bug can overwrite the `GstAudioInfo` info structure. This vulnerability is fixed in 1.24.10.

Affected

ProductAffectedFixed inSource
gstreamer< 1.24.10–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_M (CNA)8.6CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: partial

References

refsecuritylab.github.com/advisories/GHSL-2024-115_GHSL-2024-118_Gstreamerrefgitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8035.patchrefgstreamer.freedesktop.org/security/sa-2024-0022.htmlreflists.debian.org/debian-lts-announce/2024/12/msg00021.html