Stack-based Buffer Overflow Affecting gstreamer1-plugins-base-tools package, versions <0:1.18.4-5.amzn2.0.7


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.09% (40th 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-GSTREAMER1PLUGINSBASETOOLS-8688219
  • published5 Feb 2025
  • disclosed12 Dec 2024

Introduced: 12 Dec 2024

CVE-2024-47607  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 gstreamer1-plugins-base-tools to version 0:1.18.4-5.amzn2.0.7 or higher.
This issue was patched in ALAS2-2025-2747.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gstreamer1-plugins-base-tools package and not the gstreamer1-plugins-base-tools 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. stack-buffer overflow has been detected in the gst_opus_dec_parse_header function within `gstopusdec.c'. The pos array is a stack-allocated buffer of size 64. If n_channels exceeds 64, the for loop will write beyond the boundaries of the pos array. The value written will always be GST_AUDIO_CHANNEL_POSITION_NONE. This bug allows to overwrite the EIP address allocated in the stack. This vulnerability is fixed in 1.24.10.

CVSS Scores

version 3.1