Stack-based Buffer Overflow Affecting gst-plugins-base package, versions <1.24.10-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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-ALPINE320-GSTPLUGINSBASE-8502681
  • published14 Dec 2024
  • disclosed12 Dec 2024

Introduced: 12 Dec 2024

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

How to fix?

Upgrade Alpine:3.20 gst-plugins-base to version 1.24.10-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gst-plugins-base package and not the gst-plugins-base package as distributed by Alpine. See How to fix? for Alpine:3.20 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