CVE-2023-40474: GStreamer MXF File Parsing Integer Overflow Remote Code Execution Vulnerability
[Integer overflow leading to heap overwrite in MXF file handling with uncompressed video]
Other sources
GStreamer MXF File Parsing Integer 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 MXF video files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. . Was ZDI-CAN-21660.
— MITRE
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 MXF video files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.
https://gstreamer.freedesktop.org/security/sa-2023-0006.html
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/gst-plugins-bad1.0to a version that resolves this vulnerability.Fixed in 1.16.3-0ubuntu1.1 - Upgrade
Upgrade
ubuntu/gst-plugins-bad1.0to a version that resolves this vulnerability.Fixed in 1.20.3-0ubuntu1.1 - Upgrade
Upgrade
ubuntu/gst-plugins-bad1.0to a version that resolves this vulnerability.Fixed in 1.22.1-1ubuntu1.1 - Upgrade
Upgrade
ubuntu/gst-plugins-bad1.0to a version that resolves this vulnerability.Fixed in 1.22.4-1ubuntu1.1 - Upgrade
Upgrade
debian/gst-plugins-bad1.0to a version that resolves this vulnerability.Fixed in 1.14.4-1+deb10u5Fixed in 1.18.4-3+deb11u4Fixed in 1.22.0-4+deb12u5Fixed in 1.22.10-1Fixed in 1.24.2-3 - Upgrade
Upgrade
redhat/gstreamer-plugins-badto a version that resolves this vulnerability.Fixed in 1.22.6