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
Link Resource
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1225 Exploit Issue Tracking Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/08/msg00001.html Mailing List Third Party Advisory
https://www.debian.org/security/2022/dsa-5204 Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:gstreamer_project:gstreamer:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

27 Jun 2023, 15:54

Type Values Removed Values Added
CWE CWE-787 CWE-190

Information

Published : 2022-07-19 20:15

Updated : 2024-02-28 19:29


NVD link : CVE-2022-1922

Mitre link : CVE-2022-1922

CVE.ORG link : CVE-2022-1922


JSON object : View

Products Affected

debian

  • debian_linux

gstreamer_project

  • gstreamer
CWE
CWE-190

Integer Overflow or Wraparound

CWE-122

Heap-based Buffer Overflow