Vulnerability · Published Jul 19, 2022 · Assigned by redhat
CVE-2022-1924
High 7.8
In plain English
A high-severity heap buffer overflow in GStreamer. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
DOS / potential heap overwrite in mkv demuxing using lzo decompression. Integer overflow in matroskademux element in lzo decompression 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | gstreamer1-plugins-good | 1.18.4-6.el9 | ALSA-2023:2260 |
| AlmaLinux:9 | gstreamer1-plugins-good-gtk | 1.18.4-6.el9 | ALSA-2023:2260 |
| Alpine:v3.20 | gst-plugins-good | 1.20.3-r0 | ALPINE-CVE-2022-1924 |
| Alpine:v3.21 | gst-plugins-good | 1.20.3-r0 | ALPINE-CVE-2022-1924 |
| Alpine:v3.22 | gst-plugins-good | 1.20.3-r0 | ALPINE-CVE-2022-1924 |
| Alpine:v3.23 | gst-plugins-good | 1.20.3-r0 | ALPINE-CVE-2022-1924 |
| Alpine:v3.24 | gst-plugins-good | 1.20.3-r0 | ALPINE-CVE-2022-1924 |
| Debian:12 | gst-plugins-good1.0 | 1.20.3-1 | DEBIAN-CVE-2022-1924 |
| Debian:13 | gst-plugins-good1.0 | 1.20.3-1 | DEBIAN-CVE-2022-1924 |
| Debian:14 | gst-plugins-good1.0 | 1.20.3-1 | DEBIAN-CVE-2022-1924 |
| Ubuntu:22.04:LTS | gst-plugins-good1.0 | 1.20.3-0ubuntu1 | UBUNTU-CVE-2022-1924 |
Affected products (as reported)
Weakness: CWE-122
References
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1225 x_refsource_MISC
- [debian-lts-announce] 20220809 [SECURITY] [DLA 3069-1] gst-plugins-good1.0 security update mailing-list, x_refsource_MLIST
- DSA-5204 vendor-advisory, x_refsource_DEBIAN