CVE-2024-47538

NameCVE-2024-47538
DescriptionGStreamer 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.
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-0022.html
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3869
Fixed by: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/5093691ef2ef5c7a6e03a20bce39db143b9cdc43
Fixed by: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/7eb26b198beffecdba4dbb64299f9cb09a9181d6 (1.24.10)

Search for package or bug name: Reporting problems