Buffer overflow in Gstreamer
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 39.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Gstreamer
- Debian Linux — versions 10.0, 11.0
- Gstreamer — versions 1.20.3
Weakness classification (CWE)
References
- gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1225 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- [debian-lts-announce] 20220809 [SECURITY] [DLA 3069-1] gst-plugins-good1.0 security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-5204 (vendor-advisory, Third Party Advisory)