CVE-2024-47607CWE-121

GHSL-2024-116: Stack-buffer overflow in gst_opus_dec_parse_header

High · published December 11, 2024

CVSS v4.0
8.6
EPSS
1%
Percentile
68.0
In the wild
Unconfirmed
What it is

⚡ A stack-buffer overflow in GStreamer could let attackers rewrite the EIP address — imagine a rogue chef swapping ingredients on the fly, creating a recipe for disaster! 🔥 Think of the pos array as a tightly packed box of ingredients, and if you try to cram in more items than it can hold, some will spill out, affecting everything else inside. In this case, overloading it could lead to catastrophic results in the stack, just like a kitchen disaster with too many cooks! An attacker could exploit this vulnerability to overwrite critical memory locations, leading to unpredictable behavior, crashes, or even code execution. This means they could potentially take control of the application, wreaking havoc on any system using this library. It's a serious risk you can't afford to ignore!

Put simply

Think of the pos array as a tightly packed box of ingredients, and if you try to cram in more items than it can hold, some will spill out, affecting everything else inside. In this case, overloading it could lead to catastrophic results in the stack, just like a kitchen disaster with too many cooks! This vulnerability occurs due to a stack-buffer overflow in the gst_opus_dec_parse_header function when the number of audio channels exceeds 64, allowing for the overwriting of the EIP address in the stack.

What to do

An attacker could exploit this vulnerability to overwrite critical memory locations, leading to unpredictable behavior, crashes, or even code execution. This means they could potentially take control of the application, wreaking havoc on any system using this library. It's a serious risk you can't afford to ignore! Update GStreamer to version 1.24.10 immediately to patch this vulnerability. Conduct regular code audits to ensure that any similar buffer overflow risks are identified in your applications. Be vigilant about testing input sizes to avoid overflow scenarios! You've got this! By taking action now, you can protect your applications and keep everything running smoothly. 🛡️

The record
Technical detail
CVSS v4.0
8.6 · HIGH
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.01201 · 68.0th percentile
Weakness
CWE-121 · Stack-based Buffer Overflow
Published
2024-12-11T19:13Z
EPSS history
Timeline
  • 11 DEC 19:13Z
    GHSL-2024-116: Stack-buffer overflow in gst_opus_dec_parse_header
    cvelistv5