Name | CVE-2023-40476 |
Description | GStreamer H265 Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GStreamer. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation. The specific flaw exists within the parsing of H265 encoded video files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. . Was ZDI-CAN-21768. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3633-1, DSA-5533-1, ELA-993-1 |
Debian Bugs | 1053259 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
gst-plugins-bad0.10 (PTS) | jessie, jessie (lts) | 0.10.23-7.4+deb8u5 | vulnerable |
gst-plugins-bad1.0 (PTS) | jessie, jessie (lts) | 1.4.4-2.1+deb8u7 | fixed |
stretch (security) | 1.10.4-1+deb9u2 | vulnerable | |
stretch (lts), stretch | 1.10.4-1+deb9u5 | fixed | |
buster (security), buster, buster (lts) | 1.14.4-1+deb10u5 | fixed | |
bullseye (security), bullseye | 1.18.4-3+deb11u4 | fixed | |
bookworm (security), bookworm | 1.22.0-4+deb12u5 | fixed | |
sid, trixie | 1.24.9-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-bad0.10 | source | jessie | (unfixed) | end-of-life | ||
gst-plugins-bad0.10 | source | (unstable) | (unfixed) | |||
gst-plugins-bad1.0 | source | jessie | 1.4.4-2.1+deb8u6 | ELA-993-1 | ||
gst-plugins-bad1.0 | source | stretch | 1.10.4-1+deb9u4 | ELA-993-1 | ||
gst-plugins-bad1.0 | source | buster | 1.14.4-1+deb10u4 | DLA-3633-1 | ||
gst-plugins-bad1.0 | source | bullseye | 1.18.4-3+deb11u2 | DSA-5533-1 | ||
gst-plugins-bad1.0 | source | bookworm | 1.22.0-4+deb12u2 | DSA-5533-1 | ||
gst-plugins-bad1.0 | source | (unstable) | 1.22.7-1 | 1053259 |
https://gstreamer.freedesktop.org/security/sa-2023-0008.html
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5364
Fixed by: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/ff91a3d8d6f7e2412c44663bf30fad5c7fdbc9d9
Fixed by: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/fddda166222a067d0e511950a0a8cfb9f5a521b7 (1.22.6)