CVE-2024-47598CWE-125

GHSL-2024-246: GStreamer has an OOB-read in qtdemux_merge_sample_table

Medium · published December 11, 2024

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

⚠️ A sneaky out-of-bounds read is lurking in GStreamer’s qtdemux_merge_sample_table function! If you’re using GStreamer, this one's for you! Think of it like a chef reading a recipe that accidentally included instructions from an entirely different dish — they might grab ingredients not meant for the current one, leading to unexpected results. In this case, the stts buffer isn’t properly checked, allowing overflow like a recipe jumping into a neighboring kitchen! An attacker could exploit this vulnerability to read unintended memory, leading to potentially revealing sensitive information or causing instabilities in media applications. While not immediately catastrophic, the risks associated with exposing memory can lead to tricky issues down the line.

Put simply

Think of it like a chef reading a recipe that accidentally included instructions from an entirely different dish — they might grab ingredients not meant for the current one, leading to unexpected results. In this case, the stts buffer isn’t properly checked, allowing overflow like a recipe jumping into a neighboring kitchen! The out-of-bounds read occurs in the qtdemux_merge_sample_table function, where the size of the stts buffer is not validated before accessing stts_duration, potentially leading to reading 4 bytes past the allocated boundaries of the stts array.

What to do

An attacker could exploit this vulnerability to read unintended memory, leading to potentially revealing sensitive information or causing instabilities in media applications. While not immediately catastrophic, the risks associated with exposing memory can lead to tricky issues down the line. To mitigate this issue, update GStreamer to version 1.24.10 immediately to ensure the buffer checks are in place. Additionally, review your applications that utilize GStreamer to verify they’re on the updated version. You’ve got this! Patch up and keep your media applications 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.00946 · 60.8th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2024-12-11T19:02Z
EPSS history
Timeline
  • 11 DEC 19:02Z
    GHSL-2024-246: GStreamer has an OOB-read in qtdemux_merge_sample_table
    cvelistv5