CVE Vulnerabilities

CVE-2023-44446

Use After Free

Published: May 03, 2024 | Modified: Dec 16, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
8.8 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM

GStreamer MXF File Parsing Use-After-Free 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 validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-22299.

Weakness

Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.

Affected Software

Name Vendor Start Version End Version
Gstreamer Gstreamer_project * 1.22.7 (excluding)
Red Hat Enterprise Linux 7 RedHat gstreamer1-plugins-bad-free-0:1.10.4-4.el7_9 *
Red Hat Enterprise Linux 7 RedHat gstreamer-plugins-bad-free-0:0.10.23-24.el7_9 *
Red Hat Enterprise Linux 8 RedHat gstreamer1-plugins-bad-free-0:1.16.1-2.el8_9 *
Red Hat Enterprise Linux 8.2 Advanced Update Support RedHat gstreamer1-plugins-bad-free-0:1.16.1-2.el8_2 *
Red Hat Enterprise Linux 8.2 Telecommunications Update Service RedHat gstreamer1-plugins-bad-free-0:1.16.1-2.el8_2 *
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions RedHat gstreamer1-plugins-bad-free-0:1.16.1-2.el8_2 *
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support RedHat gstreamer1-plugins-bad-free-0:1.16.1-2.el8_4 *
Red Hat Enterprise Linux 8.4 Telecommunications Update Service RedHat gstreamer1-plugins-bad-free-0:1.16.1-2.el8_4 *
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions RedHat gstreamer1-plugins-bad-free-0:1.16.1-2.el8_4 *
Red Hat Enterprise Linux 8.6 Extended Update Support RedHat gstreamer1-plugins-bad-free-0:1.16.1-2.el8_6 *
Red Hat Enterprise Linux 8.8 Extended Update Support RedHat gstreamer1-plugins-bad-free-0:1.16.1-2.el8_8 *
Red Hat Enterprise Linux 9 RedHat gstreamer1-plugins-bad-free-0:1.22.1-2.el9_3 *
Red Hat Enterprise Linux 9.0 Extended Update Support RedHat gstreamer1-plugins-bad-free-0:1.18.4-6.el9_0 *
Red Hat Enterprise Linux 9.2 Extended Update Support RedHat gstreamer1-plugins-bad-free-0:1.18.4-7.el9_2 *
Gst-plugins-bad0.10 Ubuntu bionic *
Gst-plugins-bad0.10 Ubuntu esm-infra-legacy/trusty *
Gst-plugins-bad0.10 Ubuntu trusty *
Gst-plugins-bad0.10 Ubuntu trusty/esm *
Gst-plugins-bad0.10 Ubuntu upstream *
Gst-plugins-bad0.10 Ubuntu xenial *
Gst-plugins-bad1.0 Ubuntu bionic *
Gst-plugins-bad1.0 Ubuntu esm-apps/bionic *
Gst-plugins-bad1.0 Ubuntu esm-apps/noble *
Gst-plugins-bad1.0 Ubuntu esm-apps/xenial *
Gst-plugins-bad1.0 Ubuntu esm-infra-legacy/trusty *
Gst-plugins-bad1.0 Ubuntu focal *
Gst-plugins-bad1.0 Ubuntu jammy *
Gst-plugins-bad1.0 Ubuntu lunar *
Gst-plugins-bad1.0 Ubuntu mantic *
Gst-plugins-bad1.0 Ubuntu noble *
Gst-plugins-bad1.0 Ubuntu trusty *
Gst-plugins-bad1.0 Ubuntu trusty/esm *
Gst-plugins-bad1.0 Ubuntu upstream *
Gst-plugins-bad1.0 Ubuntu xenial *

Extended Description

The use of previously-freed memory can have any number of adverse consequences, ranging from the corruption of valid data to the execution of arbitrary code, depending on the instantiation and timing of the flaw. The simplest way data corruption may occur involves the system’s reuse of the freed memory. Use-after-free errors have two common and sometimes overlapping causes:

In this scenario, the memory in question is allocated to another pointer validly at some point after it has been freed. The original pointer to the freed memory is used again and points to somewhere within the new allocation. As the data is changed, it corrupts the validly used memory; this induces undefined behavior in the process. If the newly allocated data happens to hold a class, in C++ for example, various function pointers may be scattered within the heap data. If one of these function pointers is overwritten with an address to valid shellcode, execution of arbitrary code can be achieved.

Potential Mitigations

References