Use of Uninitialized Variable Affecting gstreamer1-plugins-good package, versions <0:1.18.4-6.amzn2.0.6


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.06% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-GSTREAMER1PLUGINSGOOD-9299406
  • published7 Mar 2025
  • disclosed12 Dec 2024

Introduced: 12 Dec 2024

CVE-2024-47540  (opens in a new tab)
CWE-457  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 gstreamer1-plugins-good to version 0:1.18.4-6.amzn2.0.6 or higher.
This issue was patched in ALAS2-2025-2776.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gstreamer1-plugins-good package and not the gstreamer1-plugins-good package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1