CVE-2023-40476

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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
vendor-advisory https://gstreamer.freedesktop.org/security/sa-2023-0008.html
x_research-advisory https://www.zerodayinitiative.com/advisories/ZDI-23-1458/
af854a3a-2127-422b-91ae-364da2661108 https://lists.debian.org/debian-lts-announce/2023/10/msg00038.html

Match rules

CPE URI Source package Min version Max version
gstreamer == R.47.0.0 AutoCAD 2021 & R.47.0.0 AutoCAD LT 2021 == R.47.0.0 AutoCAD 2021 & R.47.0.0 AutoCAD LT 2021
cpe:2.3:a:gstreamer_project:gstreamer:*:*:*:*:*:*:*:* gstreamer >= None < 1.22.6

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
gstreamer edge-main 1.18.4-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
gstreamer 3.22-main 1.18.4-r0 None possibly vulnerable
gstreamer 3.21-main 1.18.4-r0 None possibly vulnerable
gstreamer 3.20-main 1.18.4-r0 None possibly vulnerable
gstreamer 3.19-main 1.18.4-r0 None possibly vulnerable
gstreamer 3.17-main 1.20.6-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
gst-plugins-bad edge-community 1.22.6-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
gst-plugins-bad 3.22-community 1.22.6-r0 None fixed
gst-plugins-bad 3.21-community 1.22.6-r0 None fixed
gst-plugins-bad 3.20-community 1.22.6-r0 None fixed
gst-plugins-bad 3.19-community 1.22.6-r0 None fixed
gst-plugins-bad 3.18-community 1.22.7-r0 Natanael Copa <ncopa@alpinelinux.org> fixed