Vulnerability · Published Dec 11, 2024 · Assigned by GitHub_M
CVE-2024-47615GHSL-2024-117: GStreamer has an out-of-bounds write in Ogg demuxer
High 8.6
In plain English
A high-severity out-of-bounds write 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.1% (higher than 67% 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-Write has been detected in the function gst_parse_vorbis_setup_packet within vorbis_parse.c. The integer size is read from the input file without proper validation. As a result, size can exceed the fixed size of the pad->vorbis_mode_sizes array (which size is 256). When this happens, the for loop overwrites the entire pad structure with 0s and 1s, affecting adjacent memory as well. This OOB-write can overwrite up to 380 bytes of memory beyond the boundaries of the pad->vorbis_mode_sizes array. This vulnerability is fixed in 1.24.10.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | gstreamer1-plugins-base | 1.16.1-5.el8_10 | ALSA-2024:11345 |
| AlmaLinux:9 | gstreamer1-plugins-base | 1.22.1-3.el9_5 | ALSA-2024:11123 |
| AlmaLinux:8 | gstreamer1-plugins-base-devel | 1.16.1-5.el8_10 | ALSA-2024:11345 |
| AlmaLinux:9 | gstreamer1-plugins-base-devel | 1.22.1-3.el9_5 | ALSA-2024:11123 |
| AlmaLinux:9 | gstreamer1-plugins-base-tools | 1.22.1-3.el9_5 | ALSA-2024:11123 |
| Alpine:v3.20 | gst-plugins-base | 1.24.10-r0 | ALPINE-CVE-2024-47615 |
| Alpine:v3.21 | gst-plugins-base | 1.24.10-r0 | ALPINE-CVE-2024-47615 |
| Alpine:v3.22 | gst-plugins-base | 1.24.10-r0 | ALPINE-CVE-2024-47615 |
| Alpine:v3.23 | gst-plugins-base | 1.24.10-r0 | ALPINE-CVE-2024-47615 |
| Alpine:v3.24 | gst-plugins-base | 1.24.10-r0 | ALPINE-CVE-2024-47615 |
| Debian:12 | gst-plugins-base1.0 | 1.22.0-3+deb12u3 | DSA-5831-1 |
| Debian:12 | gst-plugins-base1.0 | 1.22.0-3+deb12u3 | DEBIAN-CVE-2024-47615 |
| Debian:13 | gst-plugins-base1.0 | 1.24.10-1 | DEBIAN-CVE-2024-47615 |
| Debian:14 | gst-plugins-base1.0 | 1.24.10-1 | DEBIAN-CVE-2024-47615 |
| Rocky Linux:8 | gstreamer1-plugins-base | 0:1.16.1-5.el8_10 | RLSA-2024:11345 |
| Ubuntu:22.04:LTS | gst-plugins-base1.0 | 1.20.1-1ubuntu0.4 | USN-7175-1 |
| Ubuntu:22.04:LTS | gst-plugins-base1.0 | 1.20.1-1ubuntu0.4 | UBUNTU-CVE-2024-47615 |
| Ubuntu:24.04:LTS | gst-plugins-base1.0 | 1.24.2-1ubuntu0.2 | UBUNTU-CVE-2024-47615 |
| Ubuntu:24.04:LTS | gst-plugins-base1.0 | 1.24.2-1ubuntu0.2 | USN-7175-1 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References
- https://securitylab.github.com/advisories/GHSL-2024-115_GHSL-2024-118_Gstreamer/ x_refsource_CONFIRM
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8038.patch x_refsource_MISC
- https://gstreamer.freedesktop.org/security/sa-2024-0026.html x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2024/12/msg00021.html