CVE-2022-1922: Integer Overflow
DOS / potential heap overwrite in mkv demuxing using zlib decompression. Integer overflow in matroskademux element in gstmatroskadecompressdata 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/gst-plugins-goodto a version that resolves this vulnerability.Fixed in 1.20.3-r0 - Upgrade
Upgrade
debian/gst-plugins-good1.0to a version that resolves this vulnerability.Fixed in 1.20.3-1 - Upgrade
Upgrade
redhat/gstreamer-plugins-goodto a version that resolves this vulnerability.Fixed in 1.20.3 - Upgrade
Upgrade
debian/gst-plugins-good1.0to a version that resolves this vulnerability.Fixed in 1.22.0-5+deb12u3Fixed in 1.22.0-5+deb12u4Fixed in 1.26.2-1+deb13u2Fixed in 1.28.8-1Fixed in 1.28.9-1
Event History
Frequently Asked Questions
What is the vulnerability ID for this issue?
The vulnerability ID is CVE-2022-1922.
What is the severity level of CVE-2022-1922?
The severity level of CVE-2022-1922 is high (7.8).
Which software is affected by CVE-2022-1922?
Gstreamer Project Gstreamer (up to version 1.20.3) and Debian Debian Linux (versions 10.0 and 11.0) are affected by CVE-2022-1922.
How can the vulnerability be exploited?
The vulnerability can be exploited through DOS attacks or potential heap overwrites in mkv demuxing using zlib decompression.
How can I fix CVE-2022-1922?
You can fix CVE-2022-1922 by updating the affected software to the specified versions: Gstreamer (1.22.6-1) and Debian Debian Linux (10.0, 11.0, and the specified versions of gst-plugins-good1.0).