CVE-2024-47545: GHSL-2024-242: Integer underflow in FOURCC_strf parsing leading to OOB-read in GStreamer - CVE-2024-47545
GStreamer is a library for constructing graphs of media-handling components. An integer underflow has been detected in qtdemuxparsetrak function within qtdemux.c. During the strf parsing case, the subtraction size -= 40 can lead to a negative integer overflow if it is less than 40. If this happens, the subsequent call to gstbufferfill will invoke memcpy with a large tocopy size, resulting in an OOB-read. 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-47545?
The severity of CVE-2024-47545 is currently classified as high due to the potential for serious integer underflow vulnerabilities.
How do I fix CVE-2024-47545?
To fix CVE-2024-47545, update affected GStreamer packages to the versions above those specified in the vulnerability statement.
Which software versions are affected by CVE-2024-47545?
CVE-2024-47545 affects GStreamer versions up to 1.24.10 and gst-plugins-good1.0 versions up to 1.18.4-2+deb11u2.
What potential impacts does CVE-2024-47545 have on systems?
CVE-2024-47545 could lead to crashes or arbitrary code execution due to the integer underflow in media handling.
Is there a workaround for CVE-2024-47545 while waiting for a patch?
Currently, the best workaround for CVE-2024-47545 is to disable the use of affected components until an official patch is applied.