CVE-2024-47607: GHSL-2024-116: Stack-buffer overflow in gst_opus_dec_parse_header

8.6 CVSS

Description

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.

Classification

CVE ID: CVE-2024-47607

CVSS Base Severity: HIGH

CVSS Base Score: 8.6

Affected Products

Vendor: gstreamer

Product: gstreamer

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.09% (probability of being exploited)

EPSS Percentile: 39.45% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://securitylab.github.com/advisories/GHSL-2024-115_GHSL-2024-118_Gstreamer/
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8037.patch
https://gstreamer.freedesktop.org/security/sa-2024-0024.html

Timeline