CVE-2023-37329

NameCVE-2023-37329
DescriptionGStreamer SRT File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GStreamer. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation. The specific flaw exists within the parsing of SRT subtitle files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-20968.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3503-1, DSA-5444-1, ELA-898-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gst-plugins-bad0.10 (PTS)jessie, jessie (lts)0.10.23-7.4+deb8u5vulnerable
gst-plugins-bad1.0 (PTS)jessie, jessie (lts)1.4.4-2.1+deb8u7fixed
stretch (security)1.10.4-1+deb9u2vulnerable
stretch (lts), stretch1.10.4-1+deb9u5fixed
buster (security), buster, buster (lts)1.14.4-1+deb10u5fixed
bullseye (security), bullseye1.18.4-3+deb11u4fixed
bookworm (security), bookworm1.22.0-4+deb12u5fixed
sid, trixie1.24.9-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gst-plugins-bad0.10sourcejessie(unfixed)end-of-life
gst-plugins-bad0.10source(unstable)(unfixed)
gst-plugins-bad1.0sourcejessie1.4.4-2.1+deb8u5ELA-898-1
gst-plugins-bad1.0sourcestretch1.10.4-1+deb9u3ELA-898-1
gst-plugins-bad1.0sourcebuster1.14.4-1+deb10u3DLA-3503-1
gst-plugins-bad1.0sourcebullseye1.18.4-3+deb11u1DSA-5444-1
gst-plugins-bad1.0sourcebookworm1.22.0-4+deb12u1DSA-5444-1
gst-plugins-bad1.0source(unstable)1.22.4-1

Notes

https://gstreamer.freedesktop.org/security/sa-2023-0003.html
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4896.patch
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/5f3cf0a7d7ae7ab883d0611e85c06354f1e94907
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/60226124ec367c2549e4bf1e6174dfb8eca5a63d

Search for package or bug name: Reporting problems