Bugzilla – Bug 1201702
VUL-0: CVE-2022-1922: gstreamer-0_10-plugins-good,gstreamer-plugins-good: DOS / potential heap overwrite in mkv demuxing
Last modified: 2023-02-16 12:35:38 UTC
CVE-2022-1922 DOS / potential heap overwrite in mkv demuxing using zlib decompression. Integer overflow in matroskademux element in gst_matroska_decompress_data function which causes a segfault, or could cause a heap overwrite, depending on libc and OS. Depending on the libc used, and the underlying OS capabilities, it could be just a segfault or a heap overwrite. If the libc uses mmap for large chunks, and the OS supports mmap, then it is just a segfault (because the realloc before the integer overflow will use mremap to reduce the size of the chunk, and it will start to write to unmapped memory). However, if using a libc implementation that does not use mmap, or if the OS does not support mmap while using libc, then this could result in a heap overwrite. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-1922 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1922 https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1225
Created attachment 860285 [details] QA reproducer Make sure you have gstreamer-plugins-good, gstreamer-plugins-base (for the gst-play-1.0) and gstreamer installed. Then run: gst-play-1.0 ./zlib-decode-overflow-1.mkv I tried this in SLE12.3
Affected: - SUSE:SLE-12-SP2:Update/gstreamer-plugins-good 1.8.3 - SUSE:SLE-15:Update/gstreamer-plugins-good 1.12.5 - SUSE:SLE-15-SP2:Update/gstreamer-plugins-good 1.16.3 - SUSE:SLE-15-SP4:Update/gstreamer-plugins-good 1.20.1 Affected i think, as qtdemux_inflate in qtdemux.c looks quite similar as in 1.8.3 and gst_matroska_decompress_data in matroska-demux.c (instead of matroska-read-common.c) looks similar as well: - SUSE:SLE-11-SP2:Update/gstreamer-0_10-plugins-good 0.10.30 Affected i think, as qtdemux_inflate in qtdemux.c and gst_matroska_decompress_data in matroska-read-common.c looks quite similar as in 1.8.3: - SUSE:SLE-12-SP2:Update/gstreamer-0_10-plugins-good 0.10.31 Not Affected (already contains fix): - openSUSE:Factory/gstreamer-plugins-good 1.20.3
The linked gitlab issue contains the fix for: - CVE-2022-1922: this bug - CVE-2022-1923: bnc#1201704 - CVE-2022-1924: bnc#1201706 - CVE-2022-1925: bnc#1201707 - CVE-2022-2122: bnc#1201708
SUSE-SU-2022:2911-1: An update that fixes 7 vulnerabilities is now available. Category: security (important) Bug References: 1201688,1201693,1201702,1201704,1201706,1201707,1201708 CVE References: CVE-2022-1920,CVE-2022-1921,CVE-2022-1922,CVE-2022-1923,CVE-2022-1924,CVE-2022-1925,CVE-2022-2122 JIRA References: Sources used: SUSE OpenStack Cloud Crowbar 9 (src): gstreamer-plugins-good-1.8.3-16.6.2 SUSE OpenStack Cloud 9 (src): gstreamer-plugins-good-1.8.3-16.6.2 SUSE Linux Enterprise Server for SAP 12-SP4 (src): gstreamer-plugins-good-1.8.3-16.6.2 SUSE Linux Enterprise Server 12-SP5 (src): gstreamer-plugins-good-1.8.3-16.6.2 SUSE Linux Enterprise Server 12-SP4-LTSS (src): gstreamer-plugins-good-1.8.3-16.6.2 SUSE Linux Enterprise Server 12-SP3-BCL (src): gstreamer-plugins-good-1.8.3-16.6.2 SUSE Linux Enterprise Server 12-SP2-BCL (src): gstreamer-plugins-good-1.8.3-16.6.2 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-2022:2957-1: An update that fixes 7 vulnerabilities is now available. Category: security (important) Bug References: 1201688,1201693,1201702,1201704,1201706,1201707,1201708 CVE References: CVE-2022-1920,CVE-2022-1921,CVE-2022-1922,CVE-2022-1923,CVE-2022-1924,CVE-2022-1925,CVE-2022-2122 JIRA References: Sources used: openSUSE Leap 15.4 (src): gstreamer-plugins-good-1.16.3-150200.3.9.1 openSUSE Leap 15.3 (src): gstreamer-plugins-good-1.16.3-150200.3.9.1 SUSE Manager Server 4.1 (src): gstreamer-plugins-good-1.16.3-150200.3.9.1 SUSE Manager Retail Branch Server 4.1 (src): gstreamer-plugins-good-1.16.3-150200.3.9.1 SUSE Manager Proxy 4.1 (src): gstreamer-plugins-good-1.16.3-150200.3.9.1 SUSE Linux Enterprise Server for SAP 15-SP2 (src): gstreamer-plugins-good-1.16.3-150200.3.9.1 SUSE Linux Enterprise Server 15-SP2-LTSS (src): gstreamer-plugins-good-1.16.3-150200.3.9.1 SUSE Linux Enterprise Server 15-SP2-BCL (src): gstreamer-plugins-good-1.16.3-150200.3.9.1 SUSE Linux Enterprise Module for Basesystem 15-SP3 (src): gstreamer-plugins-good-1.16.3-150200.3.9.1 SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS (src): gstreamer-plugins-good-1.16.3-150200.3.9.1 SUSE Linux Enterprise High Performance Computing 15-SP2-ESPOS (src): gstreamer-plugins-good-1.16.3-150200.3.9.1 SUSE Enterprise Storage 7 (src): gstreamer-plugins-good-1.16.3-150200.3.9.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.
Cleaning up GNOME CVE backlog. The fix has been submitted and accepted. Assign back to security team.
SUSE-SU-2022:3908-1: An update that fixes 7 vulnerabilities is now available. Category: security (moderate) Bug References: 1201688,1201693,1201702,1201704,1201706,1201707,1201708 CVE References: CVE-2022-1920,CVE-2022-1921,CVE-2022-1922,CVE-2022-1923,CVE-2022-1924,CVE-2022-1925,CVE-2022-2122 JIRA References: Sources used: openSUSE Leap 15.4 (src): gstreamer-plugins-good-1.20.1-150400.3.3.1 SUSE Linux Enterprise Module for Basesystem 15-SP4 (src): gstreamer-plugins-good-1.20.1-150400.3.3.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-2022:3906-1: An update that fixes 7 vulnerabilities is now available. Category: security (moderate) Bug References: 1201688,1201693,1201702,1201704,1201706,1201707,1201708 CVE References: CVE-2022-1920,CVE-2022-1921,CVE-2022-1922,CVE-2022-1923,CVE-2022-1924,CVE-2022-1925,CVE-2022-2122 JIRA References: Sources used: SUSE Linux Enterprise Workstation Extension 12-SP5 (src): gstreamer-0_10-plugins-good-0.10.31-17.7.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.