{"affected":[{"ecosystem_specific":{"binaries":[{"glib2-devel":"2.62.6-3.6.1","glib2-lang":"2.62.6-3.6.1","glib2-tools":"2.62.6-3.6.1","libgio-2_0-0":"2.62.6-3.6.1","libgio-2_0-0-32bit":"2.62.6-3.6.1","libglib-2_0-0":"2.62.6-3.6.1","libglib-2_0-0-32bit":"2.62.6-3.6.1","libgmodule-2_0-0":"2.62.6-3.6.1","libgmodule-2_0-0-32bit":"2.62.6-3.6.1","libgobject-2_0-0":"2.62.6-3.6.1","libgobject-2_0-0-32bit":"2.62.6-3.6.1","libgthread-2_0-0":"2.62.6-3.6.1"}]},"package":{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP2","name":"glib2","purl":"pkg:rpm/suse/glib2&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"2.62.6-3.6.1"}],"type":"ECOSYSTEM"}]},{"ecosystem_specific":{"binaries":[{"glib2-tools":"2.62.6-3.6.1","libgio-2_0-0":"2.62.6-3.6.1","libglib-2_0-0":"2.62.6-3.6.1","libgmodule-2_0-0":"2.62.6-3.6.1","libgobject-2_0-0":"2.62.6-3.6.1"}]},"package":{"ecosystem":"SUSE:Linux Enterprise Micro 5.0","name":"glib2","purl":"pkg:rpm/suse/glib2&distro=SUSE%20Linux%20Enterprise%20Micro%205.0"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"2.62.6-3.6.1"}],"type":"ECOSYSTEM"}]}],"aliases":[],"details":"This update for glib2 fixes the following issues:\n\n- CVE-2021-27218: g_byte_array_new_take takes a gsize as length but stores in a guint, this patch will refuse if\n  the length is larger than guint. (bsc#1182328)\n- CVE-2021-27219: g_memdup takes a guint as parameter and sometimes leads into an integer overflow, so add a g_memdup2 function which uses gsize to replace it. (bsc#1182362)\n","id":"SUSE-SU-2021:0778-1","modified":"2021-03-12T16:42:35Z","published":"2021-03-12T16:42:35Z","references":[{"type":"ADVISORY","url":"https://www.suse.com/support/update/announcement/2021/suse-su-20210778-1/"},{"type":"REPORT","url":"https://bugzilla.suse.com/1182328"},{"type":"REPORT","url":"https://bugzilla.suse.com/1182362"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2021-27218"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2021-27219"}],"related":["CVE-2021-27218","CVE-2021-27219"],"summary":"Security update for glib2","upstream":["CVE-2021-27218","CVE-2021-27219"]}