Vulnerability · Published Dec 11, 2024 · Assigned by GitHub_M
CVE-2024-47776GHSL-2024-260: GStreamer has a OOB-read in gst_wavparse_cue_chunk
Medium 5.1
In plain English
A medium-severity out-of-bounds read in gstreamer from gstreamer. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
GStreamer is a library for constructing graphs of media-handling components. An OOB-read has been discovered in gst_wavparse_cue_chunk within gstwavparse.c. The vulnerability happens due to a discrepancy between the size of the data buffer and the size value provided to the function. This mismatch causes the comparison if (size < 4 + ncues * 24) to fail in some cases, allowing the subsequent loop to access beyond the bounds of the data buffer. The root cause of this discrepancy stems from a miscalculation when clipping the chunk size based on upstream data size. This vulnerability allows reading beyond the bounds of the data buffer, potentially leading to a crash (denial of service) or the leak of sensitive data. This vulnerability is fixed in 1.24.10.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | gstreamer1-plugins-good | 1.22.12-4.el9 | ALSA-2025:7242 |
| AlmaLinux:9 | gstreamer1-plugins-good-gtk | 1.22.12-4.el9 | ALSA-2025:7242 |
| Alpine:v3.20 | gst-plugins-good | 1.24.10-r0 | ALPINE-CVE-2024-47776 |
| Alpine:v3.21 | gst-plugins-good | 1.24.10-r0 | ALPINE-CVE-2024-47776 |
| Alpine:v3.22 | gst-plugins-good | 1.24.10-r0 | ALPINE-CVE-2024-47776 |
| Alpine:v3.23 | gst-plugins-good | 1.24.10-r0 | ALPINE-CVE-2024-47776 |
| Alpine:v3.24 | gst-plugins-good | 1.24.10-r0 | ALPINE-CVE-2024-47776 |
| Debian:12 | gst-plugins-good1.0 | 1.22.0-5+deb12u2 | DSA-5838-1 |
| Debian:12 | gst-plugins-good1.0 | 1.22.0-5+deb12u2 | DEBIAN-CVE-2024-47776 |
| Debian:13 | gst-plugins-good1.0 | 1.24.10-1 | DEBIAN-CVE-2024-47776 |
| Debian:14 | gst-plugins-good1.0 | 1.24.10-1 | DEBIAN-CVE-2024-47776 |
| Rocky Linux:9 | gstreamer1-plugins-good | 0:1.22.12-4.el9 | RLSA-2025:7242 |
| Ubuntu:22.04:LTS | gst-plugins-good1.0 | 1.20.3-0ubuntu1.3 | USN-7176-1 |
| Ubuntu:22.04:LTS | gst-plugins-good1.0 | 1.20.3-0ubuntu1.3 | UBUNTU-CVE-2024-47776 |
| Ubuntu:24.04:LTS | gst-plugins-good1.0 | 1.24.2-1ubuntu1.1 | UBUNTU-CVE-2024-47776 |
| Ubuntu:24.04:LTS | gst-plugins-good1.0 | 1.24.2-1ubuntu1.1 | USN-7176-1 |
Affected products (as reported)
Weakness: CWE-125 · 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
References
- https://securitylab.github.com/advisories/GHSL-2024-260_Gstreamer/ x_refsource_CONFIRM
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8042.patch x_refsource_MISC
- https://gstreamer.freedesktop.org/security/sa-2024-0027.html x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/02/msg00035.html