CVE-2023-40474
Published: 03 May 2024
Summary
CVE-2023-40474 is a high-severity Integer Overflow or Wraparound (CWE-190) vulnerability in Gstreamer Gstreamer. Its CVSS base score is 8.8 (High).
Operationally, ranked in the top 9.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
GStreamer contains an integer overflow vulnerability in its MXF file parser that can lead to remote code execution. The flaw, tracked as CVE-2023-40474 and originally ZDI-CAN-21660, stems from insufficient validation of user-supplied data during MXF video file processing, allowing an overflow to occur before a buffer is allocated. Affected installations include multiple versions of the GStreamer multimedia framework, which is commonly used by media applications and libraries that handle MXF content.
Remote attackers can exploit the issue by supplying a malicious MXF file to any application that uses the vulnerable GStreamer library. Successful exploitation grants arbitrary code execution in the context of the current process. The attack requires the target to process attacker-controlled media but does not need authentication, and the CVSS 8.8 score reflects network-accessible vectors with high impact on confidentiality, integrity, and availability.
Official advisories published by the GStreamer project and downstream vendors such as Debian address the flaw and reference corresponding patches. Security practitioners should consult the GStreamer security advisory and vendor updates for fixed versions and backports. The associated EPSS score has remained low, with a current value of 0.0617 and a peak of 0.0705.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-45045
Vulnerability details
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…
more
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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
No mitigating controls mapped yet. The per-CVE control annotator has not reached this CVE.