gstreamer/subprojects/gst-plugins-good/gst/isomp4
Sebastian Dröge 14d306da6d qtdemux: Fix integer overflows in zlib decompression code
Various variables were of smaller types than needed and there were no
checks for any overflows when doing additions on the sizes. This is all
checked now.

In addition the size of the decompressed data is limited to 200MB now as
any larger sizes are likely pathological and we can avoid out of memory
situations in many cases like this.

Also fix a bug where the available output size on the next iteration in
the zlib decompression code was provided too large and could
potentially lead to out of bound writes.

Thanks to Adam Doupe for analyzing and reporting the issue.

CVE: tbd

https://gstreamer.freedesktop.org/security/sa-2022-0003.html

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1225

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2610>
2022-06-15 17:50:55 +00:00
..
atoms.c
atoms.h
atomsrecovery.c
atomsrecovery.h
descriptors.c
descriptors.h
fourcc.h qtdemux: Add parsing/dumping of nmhd / metx boxes 2022-05-20 13:01:44 +00:00
gstisoff.c
gstisoff.h
gstisomp4element.c Replace gst-i18n-*.h with gi18n-lib.h 2022-04-19 18:01:06 +00:00
gstisomp4elements.h
gstqtmoovrecover.c
gstqtmoovrecover.h
gstqtmux-doc.c
gstqtmux-doc.h
gstqtmux.c mp4mux: Disable aggregator's default negotiation 2022-05-05 17:41:58 +00:00
gstqtmux.h
GstQTMux.prs
gstqtmuxmap.c isomp4: Fix AV1 default alignment 2022-03-04 21:58:15 +00:00
gstqtmuxmap.h
gstrtpxqtdepay.c
gstrtpxqtdepay.h
isomp4-plugin.c Replace gst-i18n-*.h with gi18n-lib.h 2022-04-19 18:01:06 +00:00
LEGAL
meson.build devenv: Add some missing GStreamer specific env variables 2022-02-25 20:35:26 +00:00
properties.c
properties.h
qtatomparser.h
qtdemux-webvtt.c qtdemux: Add support for wvtt (WebVTT) subtitles. 2021-10-19 08:56:58 +00:00
qtdemux-webvtt.h qtdemux: Add support for wvtt (WebVTT) subtitles. 2021-10-19 08:56:58 +00:00
qtdemux.c qtdemux: Fix integer overflows in zlib decompression code 2022-06-15 17:50:55 +00:00
qtdemux.h qtdemux: Add support for ONVIF XML Timed MetaData 2022-05-20 13:01:44 +00:00
qtdemux_debug.h
qtdemux_dump.c qtdemux: Add parsing/dumping of nmhd / metx boxes 2022-05-20 13:01:44 +00:00
qtdemux_dump.h
qtdemux_lang.c
qtdemux_lang.h
qtdemux_tags.c
qtdemux_tags.h
qtdemux_tree.c
qtdemux_tree.h
qtdemux_types.c qtdemux: Add parsing/dumping of nmhd / metx boxes 2022-05-20 13:01:44 +00:00
qtdemux_types.h
qtpalette.h