CVE-2024-47539
Description
GStreamer is a library for constructing graphs of media-handling components. An out-of-bounds write vulnerability was identified in the convert_to_s334_1a function in isomp4/qtdemux.c. The vulnerability arises due to a discrepancy between the size of memory allocated to the storage array and the loop condition i * 2 < ccpair_size. Specifically, when ccpair_size is even, the allocated size in storage does not match the loop's expected bounds, resulting in an out-of-bounds write. This bug allows for the overwriting of up to 3 bytes beyond the allocated bounds of the storage array. This vulnerability is fixed in 1.24.10.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2024-47539 NameCVE-2024-47539 DescriptionGStreamer is a library for constructing graphs of media-handling components. An out-of-bounds write vulnerability was identified in the convert_to_s334_1a function in isomp4/qtdemux.c. The vulnerability arises due to a discrepancy between the size of memory allocated to the storage array and the loop condition i * 2 < ccpair_size. Specifically, whenβ¦
CVE-2024-47539
| Name | CVE-2024-47539 |
| Description | GStreamer is a library for constructing graphs of media-handling components. An out-of-bounds write vulnerability was identified in the convert_to_s334_1a function in isomp4/qtdemux.c. The vulnerability arises due to a discrepancy between the size of memory allocated to the storage array and the loop condition i * 2 < ccpair_size. Specifically, when ccpair_size is even, the allocated size in storage does not match the loop's expected bounds, resulting in an out-of-bounds write. This bug allows for the overwriting of up to 3 bytes beyond the allocated bounds of the storage array. This vulnerability is fixed in 1.24.10. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4071-1, DSA-5838-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| gst-plugins-good1.0 (PTS) | bullseye | 1.18.4-2+deb11u2 | vulnerable |
| bullseye (security) | 1.18.4-2+deb11u4 | fixed | |
| bookworm | 1.22.0-5+deb12u3 | fixed | |
| bookworm (security) | 1.22.0-5+deb12u2 | fixed | |
| trixie | 1.26.2-1 | fixed | |
| trixie (security) | 1.26.2-1+deb13u1 | fixed | |
| forky, sid | 1.28.3-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| gst-plugins-good0.10 | source | (unstable) | (unfixed) | |||
| gst-plugins-good1.0 | source | bullseye | 1.18.4-2+deb11u3 | DLA-4071-1 | ||
| gst-plugins-good1.0 | source | bookworm | 1.22.0-5+deb12u2 | DSA-5838-1 | ||
| gst-plugins-good1.0 | source | (unstable) | 1.24.10-1 |
Notes
https://securitylab.github.com/advisories/GHSL-2024-195_Gstreamer/
https://gstreamer.freedesktop.org/security/sa-2024-0007.html
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3839
Fixed by: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8059
Fixed by: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8060 (1.24.10)
Apply commands
https://securitylab.github.com/advisories/GHSL-2024-195_Gstreamer/https://gstreamer.freedesktop.org/security/sa-2024-0007.htmlhttps://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3839Fixed by: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8059Fixed by: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8060 (1.24.10)
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| β | Affected | β |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1.24.10-1 |
| sid | Fixed | 1.24.10-1 |
| forky | Fixed | 1.24.10-1 |
| bullseye | Fixed | 1.18.4-2+deb11u3 |
| bookworm | Fixed | 1.22.0-5+deb12u2 |
Red Hat Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | β |
| 8 | Fixed | β |
Rocky Linux Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | β |
| 8 | Fixed | β |
References
- https://access.redhat.com/errata/RHSA-2024:11122
- https://errata.rockylinux.org/RLSA-2024:11299
- https://security-tracker.debian.org/tracker/CVE-2024-47539
- https://www.suse.com/security/cve/CVE-2024-47539.html
- https://errata.rockylinux.org/RLSA-2024:11122
- https://access.redhat.com/errata/RHSA-2024:11299
- 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://errata.almalinux.org/8/ALSA-2024-11299.html
- https://errata.almalinux.org/9/ALSA-2024-11122.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.