Name | CVE-2023-50186 |
Description | GStreamer AV1 Video Parsing Stack-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 metadata within AV1 encoded video files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-22300. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-5583-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
gst-plugins-bad1.0 (PTS) | bullseye (security), bullseye | 1.18.4-3+deb11u4 | fixed |
| bookworm, bookworm (security) | 1.22.0-4+deb12u5 | fixed |
| sid, trixie | 1.24.9-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bullseye] - gst-plugins-bad1.0 <not-affected> (Vulnerable code not present)
[buster] - gst-plugins-bad1.0 <not-affected> (Vulnerable code not present)
- gst-plugins-bad0.10 <not-affected> (Vulnerable code not present)
https://gstreamer.freedesktop.org/security/sa-2023-0011.html
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5823
Fixed by: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/890d59e97e291fe848147ebf4d5884bcec1101c9
Fixed by: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/a46737a73155fe1c19fa5115df40da35426f9fb5 (1.22.8)