CVE-2024-47835

NameCVE-2024-47835
DescriptionGStreamer is a library for constructing graphs of media-handling components. A null pointer dereference vulnerability has been detected in the parse_lrc function within gstsubparse.c. The parse_lrc function calls strchr() to find the character ']' in the string line. The pointer returned by this call is then passed to g_strdup(). However, if the string line does not contain the character ']', strchr() returns NULL, and a call to g_strdup(start + 1) leads to a null pointer dereference. 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-263_Gstreamer/
https://gstreamer.freedesktop.org/security/sa-2024-0029.html
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3892
Fixed by: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/4c40f73b7002967e824ef34a5435282f4a0ea363
Fixed by: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/1a5fdba14a1ccfe473bc4429f22ee5bbaee034eb (1.24.10)

Search for package or bug name: Reporting problems