Red Hat 9042 Published by

A mingw-glib2 security, bug fix, and enhancement update has been released for Red Hat Enterprise Linux 8.



RHSA-2021:4526-03: Important: mingw-glib2 security, bug fix, and enhancement update



=====================================================================
Red Hat Security Advisory

Synopsis: Important: mingw-glib2 security, bug fix, and enhancement update
Advisory ID: RHSA-2021:4526-01
Product: Red Hat Enterprise Linux
Advisory URL:   https://access.redhat.com/errata/RHSA-2021:4526
Issue date: 2021-11-09
CVE Names: CVE-2021-27218 CVE-2021-27219
=====================================================================

1. Summary:

An update for mingw-glib2 is now available for Red Hat Enterprise Linux 8.

Red Hat Product Security has rated this update as having a security impact
of Important. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available for each vulnerability
from the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux CRB (v. 8) - noarch

3. Description:

GLib provides the core application building blocks for libraries and
applications written in C. It provides the core object system used in
GNOME, the main loop implementation, and a large set of utility functions
for strings and common data structures.

The following packages have been upgraded to a later upstream version:
mingw-glib2 (2.66.7). (BZ#1935248, BZ#1939111)

Security Fix(es):

* glib: integer overflow in g_bytes_new function on 64-bit platforms due to
an implicit cast from 64 bits to 32 bits (CVE-2021-27219)

* glib: integer overflow in g_byte_array_new_take function when called with
a buffer of 4GB or more on a 64-bit platform (CVE-2021-27218)

For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE
page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Red Hat
Enterprise Linux 8.5 Release Notes linked from the References section.

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

  https://access.redhat.com/articles/11258

5. Bugs fixed (  https://bugzilla.redhat.com/):

1929847 - CVE-2021-27218 glib: integer overflow in g_byte_array_new_take function when called with a buffer of 4GB or more on a 64-bit platform
1929858 - CVE-2021-27219 glib: integer overflow in g_bytes_new function on 64-bit platforms due to an implicit cast from 64 bits to 32 bits

6. Package List:

Red Hat Enterprise Linux CRB (v. 8):

Source:
mingw-glib2-2.66.7-2.el8.src.rpm

noarch:
mingw32-glib2-2.66.7-2.el8.noarch.rpm
mingw32-glib2-debuginfo-2.66.7-2.el8.noarch.rpm
mingw32-glib2-static-2.66.7-2.el8.noarch.rpm
mingw64-glib2-2.66.7-2.el8.noarch.rpm
mingw64-glib2-debuginfo-2.66.7-2.el8.noarch.rpm
mingw64-glib2-static-2.66.7-2.el8.noarch.rpm

These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
  https://access.redhat.com/security/team/key/

7. References:

  https://access.redhat.com/security/cve/CVE-2021-27218
  https://access.redhat.com/security/cve/CVE-2021-27219
  https://access.redhat.com/security/updates/classification/#important
  https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.5_release_notes/

8. Contact:

The Red Hat security contact is . More contact
details at   https://access.redhat.com/security/team/contact/

Copyright 2021 Red Hat, Inc.