CVE-2022-1922

NameCVE-2022-1922
DescriptionDOS / 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3069-1, DSA-5204-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gst-plugins-good1.0 (PTS)buster1.14.4-1+deb10u1vulnerable
buster (security)1.14.4-1+deb10u3fixed
bullseye (security), bullseye1.18.4-2+deb11u2fixed
bookworm, bookworm (security)1.22.0-5+deb12u1fixed
trixie1.22.10-1fixed
sid1.24.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gst-plugins-good1.0sourcebuster1.14.4-1+deb10u2DLA-3069-1
gst-plugins-good1.0sourcebullseye1.18.4-2+deb11u1DSA-5204-1
gst-plugins-good1.0source(unstable)1.20.3-1

Notes

https://gstreamer.freedesktop.org/security/sa-2022-0002.html
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1225
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/ad6012159acf18c6b5c0f4edf037e8c9a2dbc966
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/fafb028196c78062892261d4e042e646ef8e518b (1.20.3)

Search for package or bug name: Reporting problems