CVE-2024-47606
gstreamer1-plugins-good: integer overflows in MP4/MOV demuxer and memory allocator that can lead to out-of-bounds writes
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, Bitnami, Photon OS. Más baja según Red Hat (alta), AlmaLinux (alta), Amazon (alta), Oracle (alta), Rocky Linux (alta), Ubuntu (media).
Descripción
GStreamer is a library for constructing graphs of media-handling components. An integer underflow has been detected in the function qtdemux_parse_theora_extension within qtdemux.c. The vulnerability occurs due to an underflow of the gint size variable, which causes size to hold a large unintended value when cast to an unsigned integer. This 32-bit negative value is then cast to a 64-bit unsigned integer (0xfffffffffffffffa) in a subsequent call to gst_buffer_new_and_alloc. The function gst_buffer_new_allocate then attempts to allocate memory, eventually calling _sysmem_new_block. The function _sysmem_new_block adds alignment and header size to the (unsigned) size, causing the overflow of the 'slice_size' variable. As a result, only 0x89 bytes are allocated, despite the large input size. When the following memcpy call occurs in gst_buffer_fill, the data from the input file will overwrite the content of the GstMapInfo info structure. Finally, during the call to gst_memory_unmap, the overwritten memory may cause a function pointer hijack, as the mem->allocator->mem_unmap_full function is called with a corrupted pointer. This function pointer overwrite could allow an attacker to alter the execution flow of the program, leading to arbitrary code execution. This vulnerability is fixed in 1.24.10.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | java, java-min, jre | 1.8.0, 8.0.451 |
| Photon OS 4.0 | gstreamer, gstreamer-devel | 1.25.1-1.ph4 |
| Photon OS 5.0 | gstreamer, gstreamer-devel | 1.25.1-1.ph5 |
| alma 8 | gstreamer1-plugins-good, gstreamer1-plugins-good-gtk | 1.16.1-5.el8_10 |
| alma 9 | gstreamer1-plugins-good, gstreamer1-plugins-good-gtk | 1.22.1-3.el9_5 |
| alpine 3.20 | gst-plugins-good | 1.24.10-r0 |
| alpine 3.21 | gst-plugins-good | 1.24.10-r0 |
| alpine 3.22 | gst-plugins-good | 1.24.10-r0 |
| alpine 3.23 | gst-plugins-good | 1.24.10-r0 |
| alpine 3.24 | gst-plugins-good | 1.24.10-r0 |
| alpine edge | gst-plugins-good | 1.24.10-r0 |
| amazon linux 2 | gstreamer1, gstreamer1-debuginfo, gstreamer1-devel y 3 más | 1.18.4-4.amzn2.0.2 y 1 más |
Mostrar las 79 entradas de 39 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | java | 1.8.0, 8.0.451 |
| bitnami::Bitnami Vulnerability Database | java-min | 1.8.0, 8.0.451 |
| bitnami::Bitnami Vulnerability Database | jre | 1.8.0, 8.0.451 |
| Photon OS 4.0 | gstreamer | 1.25.1-1.ph4 |
| Photon OS 4.0 | gstreamer-devel | 1.25.1-1.ph4 |
| Photon OS 5.0 | gstreamer | 1.25.1-1.ph5 |
| Photon OS 5.0 | gstreamer-devel | 1.25.1-1.ph5 |
| alma 8 | gstreamer1-plugins-good | 1.16.1-5.el8_10 |
| alma 8 | gstreamer1-plugins-good-gtk | 1.16.1-5.el8_10 |
| alma 9 | gstreamer1-plugins-good | 1.22.1-3.el9_5 |
| alma 9 | gstreamer1-plugins-good-gtk | 1.22.1-3.el9_5 |
| alpine 3.20 | gst-plugins-good | 1.24.10-r0 |
| alpine 3.21 | gst-plugins-good | 1.24.10-r0 |
| alpine 3.22 | gst-plugins-good | 1.24.10-r0 |
| alpine 3.23 | gst-plugins-good | 1.24.10-r0 |
| alpine 3.24 | gst-plugins-good | 1.24.10-r0 |
| alpine edge | gst-plugins-good | 1.24.10-r0 |
| amazon linux 2 | gstreamer1 | 1.18.4-4.amzn2.0.2 |
| amazon linux 2 | gstreamer1-debuginfo | 1.18.4-4.amzn2.0.2 |
| amazon linux 2 | gstreamer1-devel | 1.18.4-4.amzn2.0.2 |
| amazon linux 2 | gstreamer1-plugins-good | 1.18.4-6.amzn2.0.6 |
| amazon linux 2 | gstreamer1-plugins-good-debuginfo | 1.18.4-6.amzn2.0.6 |
| amazon linux 2 | gstreamer1-plugins-good-gtk | 1.18.4-6.amzn2.0.6 |
| chainguard | openjdk-11-openj9 | 0.53.0-r0 |
| chainguard | openjdk-17-openj9 | 0.53.0-r0 |
| chainguard | openjdk-21-openj9 | 0.53.0-r0 |
| chainguard | openjdk-25-openj9 | 0.59.0-r1 |
| chainguard | openjdk-26-openj9 | 0.59.0-r1 |
| chainguard | openjdk-8-openj9 | 0.53.0-r1 |
| debian 11 | gst-plugins-good1.0 | 1.18.4-2+deb11u3 |
| debian 11 | gstreamer1.0 | 1.18.4-2.1+deb11u1 |
| debian 12 | gst-plugins-good1.0 | 1.22.0-5+deb12u2 |
| debian 12 | gstreamer1.0 | 1.22.0-2+deb12u1 |
| debian 13 | gst-plugins-good1.0 | 1.24.10-1 |
| debian 13 | gstreamer1.0 | 1.24.10-1 |
| debian 14 | gst-plugins-good1.0 | 1.24.10-1 |
| debian 14 | gstreamer1.0 | 1.24.10-1 |
| echo | gst-plugins-good1.0 | 1.22.0-5+deb12u2 |
| echo | gstreamer1.0 | 1.22.0-2+deb12u1 |
| Oracle Linux 7 | gstreamer1-plugins-base | 1.10.4-2.0.1.el7 |
| Oracle Linux 7 | gstreamer1-plugins-base-devel | 1.10.4-2.0.1.el7 |
| Oracle Linux 7 | gstreamer1-plugins-base-devel-docs | 1.10.4-2.0.1.el7 |
| Oracle Linux 7 | gstreamer1-plugins-base-tools | 1.10.4-2.0.1.el7 |
| Oracle Linux 7 | gstreamer1-plugins-good | 1.10.4-2.0.1.el7 |
| Oracle Linux 8 | gstreamer1-plugins-good | 1.16.1-5.el8_10 |
| Oracle Linux 8 | gstreamer1-plugins-good-gtk | 1.16.1-5.el8_10 |
| Oracle Linux 9 | gstreamer1-plugins-good | 1.22.1-3.el9_5 |
| Oracle Linux 9 | gstreamer1-plugins-good-gtk | 1.22.1-3.el9_5 |
| rapidfort alma 10 | gstreamer1-plugins-good | sin corrección indicada |
| rapidfort alma 10 | gstreamer1-plugins-good-gtk | sin corrección indicada |
| rapidfort alpine 3.20 | gstreamer | 1.24.10-r0 |
| rapidfort alpine 3.21 | gstreamer | 1.24.10-r0 |
| rapidfort alpine 3.22 | gstreamer | 1.24.10-r0 |
| rapidfort alpine 3.23 | gstreamer | 1.24.10-r0 |
| rapidfort alpine 3.24 | gstreamer | 1.24.10-r0 |
| rapidfort debian 12 | gst-plugins-good1.0 | 0:1.24.10-1 |
| rapidfort debian 12 | gstreamer1.0 | 0:1.24.10-1 |
| rapidfort debian 13 | gst-plugins-good1.0 | 0:1.24.10-1 |
| rapidfort debian 13 | gstreamer1.0 | 0:1.24.10-1 |
| rapidfort Oracle Linux 10 | gstreamer1-plugins-good | sin corrección indicada |
| rapidfort Oracle Linux 10 | gstreamer1-plugins-good-gtk | sin corrección indicada |
| rapidfort Oracle Linux 9 | gstreamer1-plugins-good | 0:1.22.1-3.el9_5 |
| rapidfort Oracle Linux 9 | gstreamer1-plugins-good-gtk | 0:1.22.1-3.el9_5 |
| rocky 8 | gstreamer1-plugins-good | 1.16.1-5.el8_10 |
| rocky 8 | gstreamer1-plugins-good-gtk | 1.16.1-5.el8_10 |
| rocky 9 | gstreamer1-plugins-good | 1.22.1-3.el9_5 |
| rocky 9 | gstreamer1-plugins-good-gtk | 1.22.1-3.el9_5 |
| ubuntu 18.04-ESM | gst-plugins-good1.0 | sin corrección indicada |
| ubuntu 18.04-ESM | gstreamer1.0 | sin corrección indicada |
| ubuntu 20.04 | gst-plugins-good1.0 | 1.16.3-0ubuntu1.3 |
| ubuntu 20.04 | gstreamer1.0 | 1.16.3-0ubuntu1.2 |
| ubuntu 20.04-ESM | gst-plugins-good1.0 | 1.16.3-0ubuntu1.3 |
| ubuntu 20.04-ESM | gstreamer1.0 | 1.16.3-0ubuntu1.2 |
| ubuntu 22.04 | gst-plugins-good1.0 | 1.20.3-0ubuntu1.3 |
| ubuntu 22.04 | gstreamer1.0 | 1.20.3-0ubuntu1.1 |
| ubuntu 24.04 | gst-plugins-good1.0 | 1.24.2-1ubuntu1.1 |
| ubuntu 24.04 | gstreamer1.0 | 1.24.2-1ubuntu0.1 |
| ubuntu 24.10 | gst-plugins-good1.0 | 1.24.8-1ubuntu1.1 |
| ubuntu 24.10 | gstreamer1.0 | 1.24.8-1ubuntu0.1 |
Referencias
- https://access.redhat.com/errata/RHSA-2024:11122
- https://access.redhat.com/security/cve/CVE-2024-47606
- https://bugzilla.redhat.com/2331719
- https://bugzilla.redhat.com/2331722
- https://bugzilla.redhat.com/2331726
- https://bugzilla.redhat.com/2331753
- https://bugzilla.redhat.com/2331760
- https://bugzilla.redhat.com/show_bug.cgi?id=2331719
Las 32 referencias
- https://bugzilla.redhat.com/show_bug.cgi?id=2331722
- https://bugzilla.redhat.com/show_bug.cgi?id=2331726
- https://bugzilla.redhat.com/show_bug.cgi?id=2331753
- https://bugzilla.redhat.com/show_bug.cgi?id=2331760
- https://creativecommons.org/licenses/by/4.0/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47537
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47539
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47540
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47606
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47613
- https://errata.almalinux.org/9/ALSA-2024-11122.html
- https://errata.rockylinux.org/RLSA-2024:11122
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8032.patch
- https://gstreamer.freedesktop.org/security/sa-2024-0014.html
- https://linux.oracle.com/cve/CVE-2024-47606.html
- https://linux.oracle.com/errata/ELSA-2024-11344.html
- https://lists.debian.org/debian-lts-announce/2024/12/msg00016.html
- https://lists.debian.org/debian-lts-announce/2025/02/msg00035.html
- https://nvd.nist.gov/vuln/detail/CVE-2024-47606
- https://security.netapp.com/advisory/ntap-20250418-0003/
- https://securitylab.github.com/advisories/GHSL-2024-166_Gstreamer/
- https://ubuntu.com/security/notices/USN-7174-1
- https://ubuntu.com/security/notices/USN-7176-1
- https://www.cve.org/CVERecord?id=CVE-2024-47606