CVE-2024-47537CWE-190CWE-787

GHSL-2024-094: GStreamer has an OOB-write in isomp4/qtdemux.c

High · published December 11, 2024

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

⚡ A sneaky integer overflow is lurking in GStreamer! When processing media files, this flaw could lead to some serious out-of-bounds memory writing. 🎥💥 Picture a chef measuring ingredients but accidentally using a faulty scale that misreports weights. Instead of the right amount of flour, they end up pouring in way too much, leading to a messy overflow in the kitchen! If an attacker crafts a media file that pushes the samples count too high, it could cause GStreamer to write beyond its allocated memory. This may lead to crashes or even allow attackers to execute malicious code. Imagine your media player suddenly going rogue — not cool!

Put simply

Picture a chef measuring ingredients but accidentally using a faulty scale that misreports weights. Instead of the right amount of flour, they end up pouring in way too much, leading to a messy overflow in the kitchen! This vulnerability arises when GStreamer attempts to reallocate memory based on user input, specifically the samples_count read from a file. If samples_count is too high, it can trigger an integer overflow, causing the memory allocation to fall short and allowing for out-of-bounds writes.

What to do

If an attacker crafts a media file that pushes the samples count too high, it could cause GStreamer to write beyond its allocated memory. This may lead to crashes or even allow attackers to execute malicious code. Imagine your media player suddenly going rogue — not cool! To secure your application, upgrade GStreamer to version 1.24.10 immediately. It's crucial to validate all input sizes and implement proper bounds checking to prevent similar issues in the future. Don’t wait — act now! You’ve got this! With these steps, your media-processing setup will be safer and sounder in no time! 🛡️

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.00957 · 61.1th percentile
Weaknesses
CWE-190 · Integer Overflow or Wraparound; CWE-787 · Out-of-bounds Write
Published
2024-12-11T18:51Z
EPSS history
Timeline
  • 11 DEC 18:51Z
    GHSL-2024-094: GStreamer has an OOB-write in isomp4/qtdemux.c
    cvelistv5