Distro advisory · SUSE Enterprise Storage 6
Security update for glib2
SUSE Enterprise Storage 6
What it fixes
Description of the patch:
This update for glib2 fixes the following issues:
CVE-2021-27218: g_byte_array_new_take takes a gsize as length but stores in a guint, this patch will refuse if the length is larger than guint. (bsc#1182328)
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)
Manual fix · SUSE Enterprise Storage 6
sudo zypper refreshsudo zypper update glib2-devel glib2-lang glib2-tools libgio-2_0-0 libgio-2_0-0-32bit libglib-2_0-0 …rpm -q glib2-devel glib2-lang glib2-tools libgio-2_0-0 libgio-2_0-0-32bit libglib-2_0-0 …Sources