CVE Vulnerabilities

CVE-2024-47540

Use of Uninitialized Variable

Published: Dec 12, 2024 | Modified: Dec 18, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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 is a library for constructing graphs of media-handling components. An uninitialized stack variable vulnerability has been identified in the gst_matroska_demux_add_wvpk_header function within matroska-demux.c. When size < 4, the program calls gst_buffer_unmap with an uninitialized map variable. Then, in the gst_memory_unmap function, the program will attempt to unmap the buffer using the uninitialized map variable, causing a function pointer hijack, as it will jump to mem->allocator->mem_unmap_full or mem->allocator->mem_unmap. This vulnerability could allow an attacker to hijack the execution flow, potentially leading to code execution. This vulnerability is fixed in 1.24.10.

Weakness

The code uses a variable that has not been initialized, leading to unpredictable or unintended results.

Affected Software

Name Vendor Start Version End Version
Gstreamer Gstreamer_project * 1.24.10 (excluding)
Red Hat Enterprise Linux 7 Extended Lifecycle Support RedHat gstreamer1-plugins-base-0:1.10.4-3.el7_9 *
Red Hat Enterprise Linux 7 Extended Lifecycle Support RedHat gstreamer1-plugins-good-0:1.10.4-3.el7_9 *
Red Hat Enterprise Linux 8 RedHat gstreamer1-plugins-good-0:1.16.1-5.el8_10 *
Red Hat Enterprise Linux 8.2 Advanced Update Support RedHat gstreamer1-plugins-good-0:1.16.1-2.el8_2 *
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support RedHat gstreamer1-plugins-good-0:1.16.1-3.el8_4 *
Red Hat Enterprise Linux 8.4 Telecommunications Update Service RedHat gstreamer1-plugins-good-0:1.16.1-3.el8_4 *
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions RedHat gstreamer1-plugins-good-0:1.16.1-3.el8_4 *
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support RedHat gstreamer1-plugins-good-0:1.16.1-3.el8_6 *
Red Hat Enterprise Linux 8.6 Telecommunications Update Service RedHat gstreamer1-plugins-good-0:1.16.1-3.el8_6 *
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions RedHat gstreamer1-plugins-good-0:1.16.1-3.el8_6 *
Red Hat Enterprise Linux 8.8 Extended Update Support RedHat gstreamer1-plugins-good-0:1.16.1-4.el8_8 *
Red Hat Enterprise Linux 9 RedHat gstreamer1-plugins-good-0:1.22.1-3.el9_5 *
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions RedHat gstreamer1-plugins-good-0:1.18.4-6.el9_0 *
Red Hat Enterprise Linux 9.2 Extended Update Support RedHat gstreamer1-plugins-good-0:1.18.4-7.el9_2 *
Red Hat Enterprise Linux 9.4 Extended Update Support RedHat gstreamer1-plugins-good-0:1.22.1-3.el9_4 *
Gst-plugins-good1.0 Ubuntu focal *
Gst-plugins-good1.0 Ubuntu jammy *
Gst-plugins-good1.0 Ubuntu noble *
Gst-plugins-good1.0 Ubuntu oracular *
Gst-plugins-good1.0 Ubuntu upstream *

Potential Mitigations

References