CVE-2024-47834: GHSL-2024-280: Use-After-Free read in Matroska CodecPrivate in GStreamer - CVE-2024-47834
GStreamer is a library for constructing graphs of media-handling components. An Use-After-Free read vulnerability has been discovered affecting the processing of CodecPrivate elements in Matroska streams. In the GSTMATROSKAIDCODECPRIVATE case within the gstmatroskademuxparsestream function, a data chunk is allocated using gstebmlreadbinary. Later, the allocated memory is freed in the gstmatroskatrackfree function, by the call to gfree (track->codecpriv). Finally, the freed memory is accessed in the capsserialize function through gstvalueserializebuffer. The freed memory will be accessed in the gstvalueserializebuffer function. This results in a UAF read vulnerability, as the function tries to process memory that has already been freed. This vulnerability is fixed in 1.24.10.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-47834?
CVE-2024-47834 is classified as a critical severity vulnerability due to its potential for exploitation in media handling.
How do I fix CVE-2024-47834?
To fix CVE-2024-47834, upgrade GStreamer to version 1.24.10 or later, or the specific patched versions for gst-plugins-good1.0.
Which versions of GStreamer are affected by CVE-2024-47834?
Versions of GStreamer prior to 1.24.10 are affected by CVE-2024-47834.
Is CVE-2024-47834 a widespread issue?
CVE-2024-47834 could potentially impact many applications using GStreamer for media processing.
What type of vulnerability is CVE-2024-47834?
CVE-2024-47834 is an Use-After-Free read vulnerability that occurs during codec processing in Matroska streams.