Skip to content

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

HighCVSS 8.6 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

11 packages: 11 fixed.

PackageAffectedFixed inStatus
alpine/gst-plugins-base(Alpine v3.20) < 1.24.10-r0 1.24.10-r0 Fixed
alpine/gst-plugins-base(Alpine v3.21) < 1.24.10-r0 1.24.10-r0 Fixed
alpine/gst-plugins-base(Alpine v3.22) < 1.24.10-r0 1.24.10-r0 Fixed
alpine/gst-plugins-base(Alpine v3.23) < 1.24.10-r0 1.24.10-r0 Fixed
alpine/gst-plugins-base(Alpine v3.24) < 1.24.10-r0 1.24.10-r0 Fixed
debian/gst-plugins-base1.0(Debian 12) < 1.22.0-3+deb12u3; = 1.22.0-3; = 1.22.0-3+deb12u1; = 1.22.0-3+deb12u2 1.22.0-3+deb12u3 Fixed
debian/gst-plugins-base1.0(Debian 13) < 1.24.10-1 1.24.10-1 Fixed
debian/gst-plugins-base1.0(Debian 14) < 1.24.10-1 1.24.10-1 Fixed
GStreamer < 1.24.10; = < 1.24.10 1.24.10 Fixed
ubuntu/gst-plugins-base1.0(Ubuntu 22.04) < 1.20.1-1ubuntu0.4 1.20.1-1ubuntu0.4 Fixed
ubuntu/gst-plugins-base1.0(Ubuntu 24.04) < 1.24.2-1ubuntu0.2 1.24.2-1ubuntu0.2 Fixed

Affected products

ProductAffected versionsFixed in
debian/gst-plugins-base1.0(Debian:12) < 1.22.0-3+deb12u3 1.22.0-3+deb12u3
debian/gst-plugins-base1.0(Debian:12) = 1.22.0-3 No fix listed
debian/gst-plugins-base1.0(Debian:12) = 1.22.0-3+deb12u1 No fix listed
debian/gst-plugins-base1.0(Debian:12) = 1.22.0-3+deb12u2 No fix listed
debian/gst-plugins-base1.0(Debian:13) < 1.24.10-1 1.24.10-1
debian/gst-plugins-base1.0(Debian:14) < 1.24.10-1 1.24.10-1
ubuntu/gst-plugins-base1.0(Ubuntu:22.04) < 1.20.1-1ubuntu0.4 1.20.1-1ubuntu0.4
GStreamer = < 1.24.10 No fix listed
alpine/gst-plugins-base(Alpine:v3.20) < 1.24.10-r0 1.24.10-r0
alpine/gst-plugins-base(Alpine:v3.21) < 1.24.10-r0 1.24.10-r0
alpine/gst-plugins-base(Alpine:v3.22) < 1.24.10-r0 1.24.10-r0
alpine/gst-plugins-base(Alpine:v3.23) < 1.24.10-r0 1.24.10-r0
alpine/gst-plugins-base(Alpine:v3.24) < 1.24.10-r0 1.24.10-r0
ubuntu/gst-plugins-base1.0(Ubuntu:24.04) < 1.24.2-1ubuntu0.2 1.24.2-1ubuntu0.2
GStreamer < 1.24.10 1.24.10

References