CVE-2024-47607

NameCVE-2024-47607
DescriptionGStreamer 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3999-1, DSA-5831-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gst-plugins-base0.10 (PTS)jessie, jessie (lts)0.10.36-2+deb8u4vulnerable
gst-plugins-base1.0 (PTS)jessie, jessie (lts)1.4.4-2+deb8u5vulnerable
stretch (security)1.10.4-1+deb9u2vulnerable
stretch (lts), stretch1.10.4-1+deb9u4vulnerable
buster (security), buster, buster (lts)1.14.4-2+deb10u3vulnerable
bullseye1.18.4-2+deb11u2vulnerable
bullseye (security)1.18.4-2+deb11u3fixed
bookworm1.22.0-3+deb12u2vulnerable
bookworm (security)1.22.0-3+deb12u3fixed
sid, trixie1.24.10-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gst-plugins-base0.10source(unstable)(unfixed)
gst-plugins-base1.0sourcebullseye1.18.4-2+deb11u3DLA-3999-1
gst-plugins-base1.0sourcebookworm1.22.0-3+deb12u3DSA-5831-1
gst-plugins-base1.0source(unstable)1.24.10-1

Notes

https://securitylab.github.com/advisories/GHSL-2024-115_GHSL-2024-118_Gstreamer/
https://gstreamer.freedesktop.org/security/sa-2024-0024.html
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3871
Fixed by: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/2838374d6ee4a0c9c4c4221ac46d5c1688f26e59
Fixed by: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/804eca458fb547942ed70b88c021b996be9228a2 (1.24.10)

Search for package or bug name: Reporting problems