CVE-2024-47776 GHSL-2024-260: GStreamer has a OOB-read in gst_wavparse_cue_chunk
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
11 packages: 11 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/gst-plugins-good(Alpine v3.20) | < 1.24.10-r0 | 1.24.10-r0 | Fixed |
| alpine/gst-plugins-good(Alpine v3.21) | < 1.24.10-r0 | 1.24.10-r0 | Fixed |
| alpine/gst-plugins-good(Alpine v3.22) | < 1.24.10-r0 | 1.24.10-r0 | Fixed |
| alpine/gst-plugins-good(Alpine v3.23) | < 1.24.10-r0 | 1.24.10-r0 | Fixed |
| alpine/gst-plugins-good(Alpine v3.24) | < 1.24.10-r0 | 1.24.10-r0 | Fixed |
| debian/gst-plugins-good1.0(Debian 12) | < 1.22.0-5+deb12u2; = 1.22.0-5; = 1.22.0-5+deb12u1 | 1.22.0-5+deb12u2 | Fixed |
| debian/gst-plugins-good1.0(Debian 13) | < 1.24.10-1 | 1.24.10-1 | Fixed |
| debian/gst-plugins-good1.0(Debian 14) | < 1.24.10-1 | 1.24.10-1 | Fixed |
| GStreamer | < 1.24.10; = < 1.24.10 | 1.24.10 | Fixed |
| ubuntu/gst-plugins-good1.0(Ubuntu 22.04) | < 1.20.3-0ubuntu1.3 | 1.20.3-0ubuntu1.3 | Fixed |
| ubuntu/gst-plugins-good1.0(Ubuntu 24.04) | < 1.24.2-1ubuntu1.1 | 1.24.2-1ubuntu1.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/gst-plugins-good1.0(Debian:12) | < 1.22.0-5+deb12u2 | 1.22.0-5+deb12u2 |
| debian/gst-plugins-good1.0(Debian:12) | = 1.22.0-5 | No fix listed |
| debian/gst-plugins-good1.0(Debian:12) | = 1.22.0-5+deb12u1 | No fix listed |
| debian/gst-plugins-good1.0(Debian:13) | < 1.24.10-1 | 1.24.10-1 |
| debian/gst-plugins-good1.0(Debian:14) | < 1.24.10-1 | 1.24.10-1 |
| ubuntu/gst-plugins-good1.0(Ubuntu:22.04) | < 1.20.3-0ubuntu1.3 | 1.20.3-0ubuntu1.3 |
| GStreamer | = < 1.24.10 | No fix listed |
| alpine/gst-plugins-good(Alpine:v3.20) | < 1.24.10-r0 | 1.24.10-r0 |
| alpine/gst-plugins-good(Alpine:v3.21) | < 1.24.10-r0 | 1.24.10-r0 |
| alpine/gst-plugins-good(Alpine:v3.22) | < 1.24.10-r0 | 1.24.10-r0 |
| alpine/gst-plugins-good(Alpine:v3.23) | < 1.24.10-r0 | 1.24.10-r0 |
| alpine/gst-plugins-good(Alpine:v3.24) | < 1.24.10-r0 | 1.24.10-r0 |
| ubuntu/gst-plugins-good1.0(Ubuntu:24.04) | < 1.24.2-1ubuntu1.1 | 1.24.2-1ubuntu1.1 |
| GStreamer | < 1.24.10 | 1.24.10 |
References
- Debian Security Tracker CVE-2024-47776 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7176-1 vendor-advisory
- www.cve.org
- https://securitylab.github.com/advisories/GHSL-2024-260_Gstreamer/ third-party-advisory
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8042.patch patch
- https://gstreamer.freedesktop.org/security/sa-2024-0027.html release-notes
- lists.debian.org
- security.alpinelinux.org vendor-advisory