{"affected":[{"ecosystem_specific":{"binaries":[{"gio-branding-upstream":"2.62.6-lp152.2.6.1","glib2-devel":"2.62.6-lp152.2.6.1","glib2-devel-32bit":"2.62.6-lp152.2.6.1","glib2-devel-static":"2.62.6-lp152.2.6.1","glib2-lang":"2.62.6-lp152.2.6.1","glib2-tests":"2.62.6-lp152.2.6.1","glib2-tools":"2.62.6-lp152.2.6.1","glib2-tools-32bit":"2.62.6-lp152.2.6.1","libgio-2_0-0":"2.62.6-lp152.2.6.1","libgio-2_0-0-32bit":"2.62.6-lp152.2.6.1","libgio-fam":"2.62.6-lp152.2.6.1","libgio-fam-32bit":"2.62.6-lp152.2.6.1","libglib-2_0-0":"2.62.6-lp152.2.6.1","libglib-2_0-0-32bit":"2.62.6-lp152.2.6.1","libgmodule-2_0-0":"2.62.6-lp152.2.6.1","libgmodule-2_0-0-32bit":"2.62.6-lp152.2.6.1","libgobject-2_0-0":"2.62.6-lp152.2.6.1","libgobject-2_0-0-32bit":"2.62.6-lp152.2.6.1","libgthread-2_0-0":"2.62.6-lp152.2.6.1","libgthread-2_0-0-32bit":"2.62.6-lp152.2.6.1"}]},"package":{"ecosystem":"openSUSE:Leap 15.2","name":"glib2","purl":"pkg:rpm/opensuse/glib2&distro=openSUSE%20Leap%2015.2"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"2.62.6-lp152.2.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\nThis update was imported from the SUSE:SLE-15-SP2:Update update project.","id":"openSUSE-SU-2021:0406-1","modified":"2021-03-14T14:09:20Z","published":"2021-03-14T14:09:20Z","references":[{"type":"ADVISORY","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/CEADQWIHFVNLBWNNAJUQIPQTZZU5U5A4/"},{"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"]}