CVE-2024-47600CWE-125

GHSL-2024-248: GStreamer has an OOB-read in format_channel_mask

Medium · published December 11, 2024

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

⚠️ An out-of-bounds read is lurking in GStreamer! Accessing audio channel information could lead to unintended data reads from the stack, like finding a surprise ingredient in your favorite dish. 🔍 Think of it like a waiter trying to serve a dish without checking the number of plates in the kitchen. If they assume there are 64 plates but there are actually 128, they might grab whatever's on the counter, leading to a messy mix-up with the orders! This OOB-read could allow an attacker to read sensitive information from unexpected areas of memory, potentially exposing confidential data or causing unpredictable behavior in your application. While no exploits are known yet, the potential for memory corruption is absolutely concerning!

Put simply

Think of it like a waiter trying to serve a dish without checking the number of plates in the kitchen. If they assume there are 64 plates but there are actually 128, they might grab whatever's on the counter, leading to a messy mix-up with the orders! The vulnerability in GStreamer occurs in the format_channel_mask function, where a fixed-size local array of 64 elements fails to account for a possible larger value returned by gst_discoverer_audio_info_get_channels, leading to out-of-bounds access.

What to do

This OOB-read could allow an attacker to read sensitive information from unexpected areas of memory, potentially exposing confidential data or causing unpredictable behavior in your application. While no exploits are known yet, the potential for memory corruption is absolutely concerning! Upgrade GStreamer to version 1.24.10 to patch this vulnerability immediately. It’s also wise to audit your use of the library for any potential errors related to audio channel handling. You've got this! Follow those steps, and you'll keep your application safe and sound! 🛡️

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.01134 · 66.2th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2024-12-11T19:03Z
EPSS history
Timeline
  • 11 DEC 19:03Z
    GHSL-2024-248: GStreamer has an OOB-read in format_channel_mask
    cvelistv5