Skip to content
OpenAdvisories
Unscored SUSE-SU-2021:0801-1 2 CVEs

Security update for glib2

Published Mar 16, 2021 · Updated Feb 4, 2026

Summary

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)

Fixed packages 18

ReleasePackageFixed in
SUSE · HPE Helion OpenStack 8 glib2 2.48.2-12.22.1
SUSE · SLES 12 SP2 Linux Enterprise Server 12 SP2-BCL glib2 2.48.2-12.22.1
SUSE · SLES 12 SP2 Linux Enterprise Server 12 SP2-LTSS glib2 2.48.2-12.22.1
SUSE · SLES 12 SP3 Linux Enterprise Server 12 SP3-BCL glib2 2.48.2-12.22.1
SUSE · SLES 12 SP3 Linux Enterprise Server 12 SP3-LTSS glib2 2.48.2-12.22.1
SUSE · SLES 12 SP4 Linux Enterprise Server 12 SP4-LTSS glib2 2.48.2-12.22.1
SUSE · SLES 12 SP5 Linux Enterprise Server 12 SP5 glib2 2.48.2-12.22.1
SUSE · SLES for SAP 12 SP2 Linux Enterprise Server for SAP Applications 12 SP2 glib2 2.48.2-12.22.1
SUSE · SLES for SAP 12 SP3 Linux Enterprise Server for SAP Applications 12 SP3 glib2 2.48.2-12.22.1
SUSE · SLES for SAP 12 SP4 Linux Enterprise Server for SAP Applications 12 SP4 glib2 2.48.2-12.22.1
SUSE · SLES for SAP 12 SP5 Linux Enterprise Server for SAP Applications 12 SP5 glib2 2.48.2-12.22.1
SUSE · SLES 12 SP5 Linux Enterprise Software Development Kit 12 SP5 glib2 2.48.2-12.22.1
SUSE · SLES 12 SP5 Linux Enterprise Workstation Extension 12 SP5 glib2 2.48.2-12.22.1
SUSE · OpenStack Cloud 7 glib2 2.48.2-12.22.1
SUSE · OpenStack Cloud 8 glib2 2.48.2-12.22.1
SUSE · OpenStack Cloud 9 glib2 2.48.2-12.22.1
SUSE · OpenStack Cloud Crowbar 8 glib2 2.48.2-12.22.1
SUSE · OpenStack Cloud Crowbar 9 glib2 2.48.2-12.22.1

Vulnerabilities 2

References

  • report
    https://bugzilla.suse.com/1182328
  • report
    https://bugzilla.suse.com/1182362
  • web
    https://www.suse.com/security/cve/CVE-2021-27218
  • web
    https://www.suse.com/security/cve/CVE-2021-27219