CVE-2024-47777CWE-125

GHSL-2024-259: GStreamer has an OOB-read in gst_wavparse_smpl_chunk

Medium · published December 11, 2024

CVSS v4.0
5.1
EPSS
1%
Percentile
67.2
In the wild
Unconfirmed
What it is

⚠️ An out-of-bounds read in GStreamer is like a barista serving coffee with a side of confusion! When the buffer gets too small, the function reaches beyond its limits to grab data. ☕ Imagine a waiter trying to pour four extra ounces of soup into a bowl that's already full; if they don’t check the bowl’s size first, it leads to a messy overflow. This OOB-read vulnerability works similarly, attempting to access data that isn’t there, creating potential chaos. While this flaw isn’t immediately alarming, it could lead to unexpected behavior in applications that rely on GStreamer for processing media. If exploited, it might cause crashes or unpredictable results, creating headaches for developers and users alike.

Put simply

Imagine a waiter trying to pour four extra ounces of soup into a bowl that's already full; if they don’t check the bowl’s size first, it leads to a messy overflow. This OOB-read vulnerability works similarly, attempting to access data that isn’t there, creating potential chaos. This OOB-read vulnerability occurs in the gst_wavparse_smpl_chunk function within gstwavparse.c, where it attempts to read 4 bytes at an incorrect offset without verifying if the buffer size is adequate, leading to potential memory access issues.

What to do

While this flaw isn’t immediately alarming, it could lead to unexpected behavior in applications that rely on GStreamer for processing media. If exploited, it might cause crashes or unpredictable results, creating headaches for developers and users alike. To protect yourself, upgrade GStreamer to version 1.24.10 or later immediately. Also, review your media handling components to ensure they're robust against such buffer issues. Regular audits can save you a lot of trouble down the line! You've got this! Follow these steps, and you'll secure your media applications in no time! 🛡️

The record
Technical detail
CVSS v4.0
5.1 · MEDIUM
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
EPSS
0.01173 · 67.2th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2024-12-11T19:16Z
EPSS history
Timeline
  • 11 DEC 19:16Z
    GHSL-2024-259: GStreamer has an OOB-read in gst_wavparse_smpl_chunk
    cvelistv5