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
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/gst-plugins-good1.0to a version that resolves this vulnerability.Fixed in 1.22.0-5+deb12u2 - Upgrade
Upgrade
debian/gst-plugins-good1.0to a version that resolves this vulnerability.Fixed in 1.24.10-1 - Upgrade
Upgrade
alpine/gst-plugins-goodto a version that resolves this vulnerability.Fixed in 1.24.10-r0 - Upgrade
Upgrade
ubuntu/gst-plugins-good1.0to a version that resolves this vulnerability.Fixed in 1.16.3-0ubuntu1.3 - Upgrade
Upgrade
ubuntu/gst-plugins-good1.0to a version that resolves this vulnerability.Fixed in 1.20.3-0ubuntu1.3 - Upgrade
Upgrade
ubuntu/gst-plugins-good1.0to a version that resolves this vulnerability.Fixed in 1.24.2-1ubuntu1.1 - Upgrade
Upgrade
debian/gst-plugins-good1.0to a version that resolves this vulnerability.Fixed in 1.22.0-5+deb12u3Fixed in 1.22.0-5+deb12u4Fixed in 1.26.2-1+deb13u2Fixed in 1.28.9-1 - Upgrade
Upgrade
GStreamerto a version that resolves this vulnerability.Fixed in 1.24.10
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.