CVE-2024-47537: GHSL-2024-094: OOB-write in Gstreamer - CVE-2024-47537
GStreamer is a library for constructing graphs of media-handling components. The program attempts to reallocate the memory pointed to by stream->samples to accommodate stream->nsamples + samplescount elements of type QtDemuxSample. The problem is that samplescount is read from the input file. And if this value is big enough, this can lead to an integer overflow during the addition. As a consequence, gtryrenew might allocate memory for a significantly smaller number of elements than intended. Following this, the program iterates through samplescount elements and attempts to write samplescount number of elements, potentially exceeding the actual allocated memory size and causing an OOB-write. This vulnerability is fixed in 1.24.10.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-47537?
CVE-2024-47537 has a high severity rating due to its potential memory allocation issues.
How do I fix CVE-2024-47537?
To fix CVE-2024-47537, upgrade GStreamer to version 1.24.10 or later.
What systems are affected by CVE-2024-47537?
CVE-2024-47537 affects GStreamer versions prior to 1.24.10 and specific Debian packages.
What types of vulnerabilities does CVE-2024-47537 represent?
CVE-2024-47537 represents a memory corruption vulnerability that could lead to application crashes or arbitrary code execution.
Is there a workaround for CVE-2024-47537?
Currently, the best approach is to apply the available patches or upgrade affected software, as no specific workaround is recommended.