CVE-2024-47606CWE-190

GHSL-2024-166: GStreamer Integer overflows in MP4/MOV demuxer and memory allocator that can lead to out-of-bounds writes

High · published December 11, 2024

CVSS v4.0
8.6
EPSS
2%
Percentile
77.4
In the wild
Unconfirmed
What it is

⚡ An integer underflow in GStreamer is like a well-meaning chef accidentally ramping up the heat until the sauce boils over! 🎩🍲 Imagine a restaurant kitchen where a chef miscalculates the size of a pot, leading to an overflowing mess. In this case, GStreamer mismanages memory allocation, resulting in a tiny buffer that could let untrusted ingredients mix into the dish, potentially poisoning the entire meal! If exploited, this flaw could let an attacker execute arbitrary code, hijacking the program's operations like a rogue chef taking over the kitchen. This could lead to devastating consequences, as malicious actors gain control over the system, altering its behavior and wreaking havoc. Yikes!

Put simply

Imagine a restaurant kitchen where a chef miscalculates the size of a pot, leading to an overflowing mess. In this case, GStreamer mismanages memory allocation, resulting in a tiny buffer that could let untrusted ingredients mix into the dish, potentially poisoning the entire meal! This vulnerability stems from an integer underflow in the qtdemux_parse_theora_extension function within the GStreamer library. When a negative value is cast to a larger unsigned integer, it results in a dangerously small memory allocation, leading to memory corruption and potential function pointer hijacking during operations.

What to do

If exploited, this flaw could let an attacker execute arbitrary code, hijacking the program's operations like a rogue chef taking over the kitchen. This could lead to devastating consequences, as malicious actors gain control over the system, altering its behavior and wreaking havoc. Yikes! To remediate, immediately update GStreamer to version 1.24.10 or later. Additionally, audit your media handling components to ensure they are not relying on vulnerable versions. It's always a good idea to keep an eye on any dependencies that might connect to this library! You can tackle this! By following these steps, you'll shore up your defenses and keep those pesky attackers at bay! 🛡️

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.01728 · 77.4th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2024-12-11T19:12Z
EPSS history
Timeline
  • 11 DEC 19:12Z
    GHSL-2024-166: GStreamer Integer overflows in MP4/MOV demuxer and memory allocator that can lead to out-of-bounds writes
    cvelistv5