CVE-2024-47538CWE-121

GHSL-2024-115: GStreamer has a stack-buffer overflow in vorbis_handle_identification_packet

High · published December 11, 2024

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

⚡ A stack-buffer overflow in GStreamer could let a crafty attacker overwrite critical memory with just a few channels too many! 🎶 Think of it like a sound engineer trying to fit too many microphone channels into a limited mixing board — if they push beyond the capacity, they risk damaging the entire setup. In this case, the overflow can overwrite important sections of memory, potentially leading to disastrous results! An attacker could exploit this vulnerability to overwrite the EIP address on the stack, which might allow them to execute arbitrary code. This could lead to a complete system compromise, putting sensitive data and functionality at serious risk. Absolutely devastating!

Put simply

Think of it like a sound engineer trying to fit too many microphone channels into a limited mixing board — if they push beyond the capacity, they risk damaging the entire setup. In this case, the overflow can overwrite important sections of memory, potentially leading to disastrous results! The vulnerability arises in the `vorbis_handle_identification_packet` function, where the position array is stack-allocated with a size limit of 64. If the number of channels exceeds this limit, the loop writes beyond the array's boundaries, allowing control over critical stack memory.

What to do

An attacker could exploit this vulnerability to overwrite the EIP address on the stack, which might allow them to execute arbitrary code. This could lead to a complete system compromise, putting sensitive data and functionality at serious risk. Absolutely devastating! To safeguard your systems, upgrade to GStreamer version 1.24.10 or later immediately. Also, review your applications for any dependencies that may be affected, ensuring all components are up to date. Tighten memory management practices to prevent similar issues in the future. You've got this! With these steps, you can secure your GStreamer installations and keep your systems safe. 🛡️

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.01274 · 69.7th percentile
Weakness
CWE-121 · Stack-based Buffer Overflow
Published
2024-12-11T18:52Z
EPSS history
Timeline
  • 11 DEC 18:52Z
    GHSL-2024-115: GStreamer has a stack-buffer overflow in vorbis_handle_identification_packet
    cvelistv5