Vulnerability · Published May 3, 2024 · Assigned by zdi
CVE-2023-50186GStreamer AV1 Video Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
High 7.5
In plain English
A high-severity stack buffer overflow in GStreamer from GStreamer. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | gstreamer1-plugins-bad-free | 1.22.1-4.el9 | ALSA-2024:2287 |
| AlmaLinux:9 | gstreamer1-plugins-bad-free-devel | 1.22.1-4.el9 | ALSA-2024:2287 |
| Debian:12 | gst-plugins-bad1.0 | 1.22.0-4+deb12u4 | DEBIAN-CVE-2023-50186 |
| Debian:12 | gst-plugins-bad1.0 | 1.22.0-4+deb12u4 | DSA-5583-1 |
| Debian:13 | gst-plugins-bad1.0 | 1.22.8-1 | DEBIAN-CVE-2023-50186 |
| Debian:14 | gst-plugins-bad1.0 | 1.22.8-1 | DEBIAN-CVE-2023-50186 |
| Rocky Linux:9 | gstreamer1-plugins-bad-free | 0:1.22.1-4.el9 | RLSA-2024:2287 |
Affected products (as reported)
Weakness: CWE-121 · Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- ZDI-24-368 x_research-advisory
- vendor-provided URL vendor-advisory