Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Lightspeed
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Lightspeed
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHSA-2021:4526 - Security Advisory
Issued:
2021-11-09
Updated:
2021-11-09

RHSA-2021:4526 - Security Advisory

  • Overview
  • Updated Packages

Synopsis

Important: mingw-glib2 security, bug fix, and enhancement update

Type/Severity

Security Advisory: Important

Red Hat Lightspeed patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

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.

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.

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

Affected Products

  • Red Hat CodeReady Linux Builder for x86_64 8 x86_64
  • Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support 8.8 x86_64
  • Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support 8.6 x86_64

Fixes

  • BZ - 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
  • BZ - 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

CVEs

  • CVE-2021-27218
  • CVE-2021-27219

References

  • 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/
Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat CodeReady Linux Builder for x86_64 8

SRPM
mingw-glib2-2.66.7-2.el8.src.rpm SHA-256: 8becfc901956e5270054d23ae7755550a70c51834f1698e44fc923510c84a692
x86_64
mingw32-glib2-2.66.7-2.el8.noarch.rpm SHA-256: 2f3248fa9a54ba1deb20583f4955877bd1c7d9c8354b714db6bfdbf8aa3c9d10
mingw32-glib2-debuginfo-2.66.7-2.el8.noarch.rpm SHA-256: 7e840dfcc9202f364980f3ceec2ac282c28a0f0ee78c7315cc727689150d3f2d
mingw32-glib2-static-2.66.7-2.el8.noarch.rpm SHA-256: 94e4c984ca00aab044fd8296f4013ac9ea331ed96fabf72776e37566ce2dbdec
mingw64-glib2-2.66.7-2.el8.noarch.rpm SHA-256: ad032500d65ff5861af1531851a6f802c62124f6a859d015ceda402fd64c62eb
mingw64-glib2-debuginfo-2.66.7-2.el8.noarch.rpm SHA-256: 10a0e05656b1270286b375ca739fd4e60b30e92a4bf58d675f7f17b57c49cbfe
mingw64-glib2-static-2.66.7-2.el8.noarch.rpm SHA-256: e2cd9d3ce5d988ba0bba0c273becb12727c234afbd3d42f28037d7339adad399

Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support 8.8

SRPM
mingw-glib2-2.66.7-2.el8.src.rpm SHA-256: 8becfc901956e5270054d23ae7755550a70c51834f1698e44fc923510c84a692
x86_64
mingw32-glib2-2.66.7-2.el8.noarch.rpm SHA-256: 2f3248fa9a54ba1deb20583f4955877bd1c7d9c8354b714db6bfdbf8aa3c9d10
mingw32-glib2-debuginfo-2.66.7-2.el8.noarch.rpm SHA-256: 7e840dfcc9202f364980f3ceec2ac282c28a0f0ee78c7315cc727689150d3f2d
mingw32-glib2-static-2.66.7-2.el8.noarch.rpm SHA-256: 94e4c984ca00aab044fd8296f4013ac9ea331ed96fabf72776e37566ce2dbdec
mingw64-glib2-2.66.7-2.el8.noarch.rpm SHA-256: ad032500d65ff5861af1531851a6f802c62124f6a859d015ceda402fd64c62eb
mingw64-glib2-debuginfo-2.66.7-2.el8.noarch.rpm SHA-256: 10a0e05656b1270286b375ca739fd4e60b30e92a4bf58d675f7f17b57c49cbfe
mingw64-glib2-static-2.66.7-2.el8.noarch.rpm SHA-256: e2cd9d3ce5d988ba0bba0c273becb12727c234afbd3d42f28037d7339adad399

Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support 8.6

SRPM
mingw-glib2-2.66.7-2.el8.src.rpm SHA-256: 8becfc901956e5270054d23ae7755550a70c51834f1698e44fc923510c84a692
x86_64
mingw32-glib2-2.66.7-2.el8.noarch.rpm SHA-256: 2f3248fa9a54ba1deb20583f4955877bd1c7d9c8354b714db6bfdbf8aa3c9d10
mingw32-glib2-debuginfo-2.66.7-2.el8.noarch.rpm SHA-256: 7e840dfcc9202f364980f3ceec2ac282c28a0f0ee78c7315cc727689150d3f2d
mingw32-glib2-static-2.66.7-2.el8.noarch.rpm SHA-256: 94e4c984ca00aab044fd8296f4013ac9ea331ed96fabf72776e37566ce2dbdec
mingw64-glib2-2.66.7-2.el8.noarch.rpm SHA-256: ad032500d65ff5861af1531851a6f802c62124f6a859d015ceda402fd64c62eb
mingw64-glib2-debuginfo-2.66.7-2.el8.noarch.rpm SHA-256: 10a0e05656b1270286b375ca739fd4e60b30e92a4bf58d675f7f17b57c49cbfe
mingw64-glib2-static-2.66.7-2.el8.noarch.rpm SHA-256: e2cd9d3ce5d988ba0bba0c273becb12727c234afbd3d42f28037d7339adad399

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

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility