CVE-2023-37328

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

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gst-plugins-base1.0 (PTS)buster1.14.4-2+deb10u1vulnerable
buster (security)1.14.4-2+deb10u2fixed
bullseye (security), bullseye1.18.4-2+deb11u1fixed
bookworm, bookworm (security)1.22.0-3+deb12u1fixed
sid, trixie1.24.3-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.0sourcebuster1.14.4-2+deb10u2DLA-3504-1
gst-plugins-base1.0sourcebullseye1.18.4-2+deb11u1DSA-5443-1
gst-plugins-base1.0sourcebookworm1.22.0-3+deb12u1DSA-5443-1
gst-plugins-base1.0source(unstable)1.22.4-1

Notes

https://gstreamer.freedesktop.org/security/sa-2023-0002.html
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4895.patch
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/518ecba8f960137715f776dac6c93e4c4e4179d1
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/1d9b360708115d4acc3fd4bf13cde066391ed057

Search for package or bug name: Reporting problems