Bugzilla – Bug 1215792
VUL-0: CVE-2023-40475: gstreamer-plugins-bad: GStreamer MXF File Parsing Integer Overflow Remote Code Execution Vulnerability
Last modified: 2024-05-28 11:47:21 UTC
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 MXF video files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-40475
Affected packages: - SUSE:ALP:Source:Standard:1.0/gstreamer-plugins-bad - SUSE:SLE-12:Update/gstreamer-plugins-bad - SUSE:SLE-12-SP2:Update/gstreamer-plugins-bad - SUSE:SLE-15-SP2:Update/gstreamer-plugins-bad - SUSE:SLE-15-SP3:Update/gstreamer-plugins-bad - SUSE:SLE-15-SP4:Update/gstreamer-plugins-bad - SUSE:SLE-15-SP5:Update/gstreamer-plugins-bad - SUSE:SLE-15:Update/gstreamer-plugins-bad - openSUSE:Factory/gstreamer-plugins-bad Upstream patch: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5362.patch
Hi, I am testing S:M:31941:315929. When I upgrade the gstreamer-plugins-bad to 1.8.3-18.12.1 in the SLE12SP5 system, using the following command will result in a warning message. When I downgrade the software version to 1.8.3-18.6.1(The same warning message also exists in version 1.8.3-18.9.3), the warning message will no longer appear. Is this expected? # gst-play-1.0 /usr/share/sounds/alsa/test.wav (gst-plugin-scanner:18198): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstmxf.so': /usr/lib64/gstreamer-1.0/libgstmxf.so: undefined symbol: gst_clear_caps Press 'k' to see a list of keyboard shortcuts. Now playing /usr/share/sounds/alsa/test.wav Redistribute latency... 0:00:07.6 / 0:00:07.6 Reached end of play list.
(In reply to ming li from comment #9) > Hi, I am testing S:M:31941:315929. When I upgrade the > gstreamer-plugins-bad to 1.8.3-18.12.1 in the SLE12SP5 system, using the > following command will result in a warning message. When I downgrade the > software version to 1.8.3-18.6.1(The same warning message also exists in > version 1.8.3-18.9.3), the warning message will no longer appear. Is this > expected? > > # gst-play-1.0 /usr/share/sounds/alsa/test.wav > > (gst-plugin-scanner:18198): GStreamer-WARNING **: Failed to load plugin > '/usr/lib64/gstreamer-1.0/libgstmxf.so': > /usr/lib64/gstreamer-1.0/libgstmxf.so: undefined symbol: gst_clear_caps > Press 'k' to see a list of keyboard shortcuts. > Now playing /usr/share/sounds/alsa/test.wav > Redistribute latency... > 0:00:07.6 / 0:00:07.6 > Reached end of play list. The same warning also exists in SLE12SP3
(In reply to ming li from comment #9) > Hi, I am testing S:M:31941:315929. When I upgrade the > gstreamer-plugins-bad to 1.8.3-18.12.1 in the SLE12SP5 system, using the > following command will result in a warning message. When I downgrade the > software version to 1.8.3-18.6.1(The same warning message also exists in > version 1.8.3-18.9.3), the warning message will no longer appear. Is this > expected? > > # gst-play-1.0 /usr/share/sounds/alsa/test.wav > > (gst-plugin-scanner:18198): GStreamer-WARNING **: Failed to load plugin > '/usr/lib64/gstreamer-1.0/libgstmxf.so': > /usr/lib64/gstreamer-1.0/libgstmxf.so: undefined symbol: gst_clear_caps > Press 'k' to see a list of keyboard shortcuts. > Now playing /usr/share/sounds/alsa/test.wav > Redistribute latency... > 0:00:07.6 / 0:00:07.6 > Reached end of play list. Could you please take a try at the SUSE:SLE-12-SP2:Update? Thank you
> Could you please take a try at the SUSE:SLE-12-SP2:Update? > Thank you I retested on SLE12SP2, SP3, and SP5, and the problem now seems to be that when upgrading from version 1.8.3-18.6.1 to version 1.8.3-18.9.3, this warning will appear when running the gst-play-1.0 command for the first time, and it will not appear again when running the gst-play-1.0 command again. Upgrading from 1.8.3-18.9.3 to 1.8.3-18.12.1 is the same. The warning will not appear when the command is run again.
gst_clear_caps was added in gstreamer 1.16.
I will check.
SUSE-SU-2023:4944-1: An update that solves one vulnerability can now be installed. Category: security (important) Bug References: 1215792 CVE References: CVE-2023-40475 Sources used: SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS 15-SP1 (src): gstreamer-plugins-bad-1.12.5-150000.3.18.1 SUSE Linux Enterprise Server 15 SP1 LTSS 15-SP1 (src): gstreamer-plugins-bad-1.12.5-150000.3.18.1 SUSE Linux Enterprise Server for SAP Applications 15 SP1 (src): gstreamer-plugins-bad-1.12.5-150000.3.18.1 SUSE CaaS Platform 4.0 (src): gstreamer-plugins-bad-1.12.5-150000.3.18.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2023:4943-1: An update that solves two vulnerabilities can now be installed. Category: security (important) Bug References: 1215792, 1217213 CVE References: CVE-2023-40475, CVE-2023-44446 Sources used: Desktop Applications Module 15-SP5 (src): gstreamer-plugins-bad-1.22.0-150500.3.17.1 SUSE Package Hub 15 15-SP5 (src): gstreamer-plugins-bad-1.22.0-150500.3.17.1 openSUSE Leap 15.5 (src): gstreamer-plugins-bad-1.22.0-150500.3.17.1 Basesystem Module 15-SP5 (src): gstreamer-plugins-bad-1.22.0-150500.3.17.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2023:4947-1: An update that solves one vulnerability can now be installed. Category: security (important) Bug References: 1215792 CVE References: CVE-2023-40475 Sources used: SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): gstreamer-plugins-bad-1.16.3-150200.4.16.1 SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): gstreamer-plugins-bad-1.16.3-150200.4.16.1 SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): gstreamer-plugins-bad-1.16.3-150200.4.16.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
(In reply to ming li from comment #9) > Hi, I am testing S:M:31941:315929. When I upgrade the > gstreamer-plugins-bad to 1.8.3-18.12.1 in the SLE12SP5 system, using the > following command will result in a warning message. When I downgrade the > software version to 1.8.3-18.6.1(The same warning message also exists in > version 1.8.3-18.9.3), the warning message will no longer appear. Is this > expected? > > # gst-play-1.0 /usr/share/sounds/alsa/test.wav > > (gst-plugin-scanner:18198): GStreamer-WARNING **: Failed to load plugin > '/usr/lib64/gstreamer-1.0/libgstmxf.so': > /usr/lib64/gstreamer-1.0/libgstmxf.so: undefined symbol: gst_clear_caps > Press 'k' to see a list of keyboard shortcuts. > Now playing /usr/share/sounds/alsa/test.wav > Redistribute latency... > 0:00:07.6 / 0:00:07.6 > Reached end of play list. Hi gst_clear_caps() added in gstreamer, Fixes are in: https://build.suse.de/request/show/316257 https://build.suse.de/request/show/316258 https://build.suse.de/request/show/316259 Thank you for the test.
SUSE-SU-2023:4971-1: An update that solves two vulnerabilities can now be installed. Category: security (important) Bug References: 1213126, 1215792 CVE References: CVE-2023-37329, CVE-2023-40475 Sources used: openSUSE Leap 15.3 (src): gstreamer-plugins-bad-1.16.3-150300.9.15.1 SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): gstreamer-plugins-bad-1.16.3-150300.9.15.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): gstreamer-plugins-bad-1.16.3-150300.9.15.1 SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): gstreamer-plugins-bad-1.16.3-150300.9.15.1 SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): gstreamer-plugins-bad-1.16.3-150300.9.15.1 SUSE Enterprise Storage 7.1 (src): gstreamer-plugins-bad-1.16.3-150300.9.15.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
(In reply to ming li from comment #9) > Hi, I am testing S:M:31941:315929. When I upgrade the > gstreamer-plugins-bad to 1.8.3-18.12.1 in the SLE12SP5 system, using the > following command will result in a warning message. When I downgrade the > software version to 1.8.3-18.6.1(The same warning message also exists in > version 1.8.3-18.9.3), the warning message will no longer appear. Is this > expected? > > # gst-play-1.0 /usr/share/sounds/alsa/test.wav > > (gst-plugin-scanner:18198): GStreamer-WARNING **: Failed to load plugin > '/usr/lib64/gstreamer-1.0/libgstmxf.so': > /usr/lib64/gstreamer-1.0/libgstmxf.so: undefined symbol: gst_clear_caps > Press 'k' to see a list of keyboard shortcuts. > Now playing /usr/share/sounds/alsa/test.wav > Redistribute latency... > 0:00:07.6 / 0:00:07.6 > Reached end of play list. > Hi > gst_clear_caps() added in gstreamer, Fixes are in: > https://build.suse.de/request/show/316257 > https://build.suse.de/request/show/316258 > https://build.suse.de/request/show/316259 > Thank you for the test. Hi ming li: The fix for CVE-2023-40474 need gst_clear_caps(), CVE-2023-40475 doesn't need it.
(In reply to Cliff Zhao from comment #20) > (In reply to ming li from comment #9) > > Hi, I am testing S:M:31941:315929. When I upgrade the > > gstreamer-plugins-bad to 1.8.3-18.12.1 in the SLE12SP5 system, using the > > following command will result in a warning message. When I downgrade the > > software version to 1.8.3-18.6.1(The same warning message also exists in > > version 1.8.3-18.9.3), the warning message will no longer appear. Is this > > expected? > > > > # gst-play-1.0 /usr/share/sounds/alsa/test.wav > > > > (gst-plugin-scanner:18198): GStreamer-WARNING **: Failed to load plugin > > '/usr/lib64/gstreamer-1.0/libgstmxf.so': > > /usr/lib64/gstreamer-1.0/libgstmxf.so: undefined symbol: gst_clear_caps > > Press 'k' to see a list of keyboard shortcuts. > > Now playing /usr/share/sounds/alsa/test.wav > > Redistribute latency... > > 0:00:07.6 / 0:00:07.6 > > Reached end of play list. > > > Hi > > gst_clear_caps() added in gstreamer, Fixes are in: > > https://build.suse.de/request/show/316257 > > https://build.suse.de/request/show/316258 > > https://build.suse.de/request/show/316259 > > Thank you for the test. > > Hi ming li: > The fix for CVE-2023-40474 need gst_clear_caps(), CVE-2023-40475 doesn't > need it. Hi Cliff, thank you for your explanation!
SUSE-SU-2023:4972-1: An update that solves one vulnerability can now be installed. Category: security (important) Bug References: 1215792 CVE References: CVE-2023-40475 Sources used: SUSE Linux Enterprise Software Development Kit 12 SP5 (src): gstreamer-plugins-bad-1.8.3-18.12.1 SUSE Linux Enterprise High Performance Computing 12 SP5 (src): gstreamer-plugins-bad-1.8.3-18.12.1 SUSE Linux Enterprise Server 12 SP5 (src): gstreamer-plugins-bad-1.8.3-18.12.1 SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): gstreamer-plugins-bad-1.8.3-18.12.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2024:0005-1: An update that solves two vulnerabilities can now be installed. Category: security (important) Bug References: 1215792, 1217213 CVE References: CVE-2023-40475, CVE-2023-44446 Sources used: openSUSE Leap 15.4 (src): gstreamer-plugins-bad-1.20.1-150400.3.15.1 Basesystem Module 15-SP4 (src): gstreamer-plugins-bad-1.20.1-150400.3.15.1 Desktop Applications Module 15-SP4 (src): gstreamer-plugins-bad-1.20.1-150400.3.15.1 SUSE Package Hub 15 15-SP4 (src): gstreamer-plugins-bad-1.20.1-150400.3.15.1 SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src): gstreamer-plugins-bad-1.20.1-150400.3.15.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src): gstreamer-plugins-bad-1.20.1-150400.3.15.1 SUSE Linux Enterprise Real Time 15 SP4 (src): gstreamer-plugins-bad-1.20.1-150400.3.15.1 SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src): gstreamer-plugins-bad-1.20.1-150400.3.15.1 SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src): gstreamer-plugins-bad-1.20.1-150400.3.15.1 SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src): gstreamer-plugins-bad-1.20.1-150400.3.15.1 SUSE Manager Proxy 4.3 (src): gstreamer-plugins-bad-1.20.1-150400.3.15.1 SUSE Manager Retail Branch Server 4.3 (src): gstreamer-plugins-bad-1.20.1-150400.3.15.1 SUSE Manager Server 4.3 (src): gstreamer-plugins-bad-1.20.1-150400.3.15.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Done, closing.