Vulnerability · Published May 3, 2024 · Assigned by zdi

CVE-2023-37328GStreamer PGS File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

High 8.8

In plain English

A high-severity heap buffer overflow in GStreamer from GStreamer. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)8.8High
Exploit odds (30 days)2.1%top 18.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

GStreamer PGS File Parsing Heap-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 PGS subtitle files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. . Was ZDI-CAN-20994.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8gstreamer1-plugins-base1.16.1-3.el8ALSA-2024:3088
AlmaLinux:9gstreamer1-plugins-base1.22.1-2.el9ALSA-2024:2302
AlmaLinux:8gstreamer1-plugins-base-devel1.16.1-3.el8ALSA-2024:3088
AlmaLinux:9gstreamer1-plugins-base-devel1.22.1-2.el9ALSA-2024:2302
AlmaLinux:9gstreamer1-plugins-base-tools1.22.1-2.el9ALSA-2024:2302
Alpine:v3.20gst-plugins-bad1.22.4-r0ALPINE-CVE-2023-37328
Alpine:v3.21gst-plugins-bad1.22.4-r0ALPINE-CVE-2023-37328
Alpine:v3.22gst-plugins-bad1.22.4-r0ALPINE-CVE-2023-37328
Alpine:v3.23gst-plugins-bad1.22.4-r0ALPINE-CVE-2023-37328
Alpine:v3.24gst-plugins-bad1.22.4-r0ALPINE-CVE-2023-37328
Debian:12gst-plugins-base1.01.22.0-3+deb12u1DSA-5443-1
Debian:12gst-plugins-base1.01.22.0-3+deb12u1DEBIAN-CVE-2023-37328
Debian:13gst-plugins-base1.01.22.4-1DEBIAN-CVE-2023-37328
Debian:14gst-plugins-base1.01.22.4-1DEBIAN-CVE-2023-37328
Rocky Linux:8gstreamer1-plugins-base0:1.16.1-3.el8RLSA-2024:3088
Rocky Linux:9gstreamer1-plugins-base0:1.22.1-2.el9RLSA-2024:2302
Ubuntu:22.04:LTSgst-plugins-base1.01.20.1-1ubuntu0.1UBUNTU-CVE-2023-37328
Ubuntu:22.04:LTSgst-plugins-base1.01.20.1-1ubuntu0.1USN-6268-1

Affected products (as reported)

VendorProductVersions
GStreamer GStreamer 1.22 and latest commit 6dff93acf69c40271a769aa2fa35efbcc2aeb9b4

Weakness: CWE-122 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References