CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5). EPSS 3.1% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExplain CVE-2021-27219 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-27219?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-27219?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-27219 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| gnome:glib | before 2.66.6 |
| gnome:glib | from 2.67.0 before 2.67.3 |
| fedoraproject:fedora | 33 |
| fedoraproject:fedora | 34 |
| debian:debian_linux | 9.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | glib2.0 | 2.50.3-2+deb9u3 | DLA-3044-1 |
| Debian | 12, 13, 14 | glib2.0 | 2.66.6-1 | DEBIAN-CVE-2021-27219 |
| Ubuntu | 16.04:LTS | glib2.0 | 2.48.2-0ubuntu4.7 | UBUNTU-CVE-2021-27219 USN-4759-1 |
| Ubuntu | 18.04:LTS | glib2.0 | 2.56.4-0ubuntu0.18.04.7 | UBUNTU-CVE-2021-27219 USN-4759-1 |
| Ubuntu | 20.04:LTS | glib2.0 | 2.64.6-1~ubuntu20.04.2 | UBUNTU-CVE-2021-27219 USN-4759-1 |
| Ubuntu | Pro:14.04:LTS | glib2.0 | no fix listed | UBUNTU-CVE-2021-27219 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstation | glib2, glib2-doc, glib2-fam and 4 more | 0:2.56.1-9.el7_9 | RHSA-2021:2147 |
| Red Hat | enterprise_linux:7::computenode | glib2-doc, glib2-fam, glib2-devel and 3 more | 0:2.56.1-9.el7_9 | RHSA-2021:2147 |
| Red Hat | enterprise_linux:7::hypervisor | redhat-virtualization-host, redhat-virtualization-host-image-update | 0:4.3.16-20210615.0.el7_9 | RHSA-2021:2519 |
| Red Hat | enterprise_linux:8::baseos | glib2, glib2-fam, glib2-devel and 6 more | 0:2.56.4-10.el8_4 | RHSA-2021:2170 |
| Red Hat | enterprise_linux:8::crb | glib2-doc, glib2-static, glib2-debuginfo and 4 more | 0:2.56.4-10.el8_4 | RHSA-2021:2170 |
| Red Hat | enterprise_linux:8::crb | mingw-glib2, mingw32-glib2, mingw64-glib2 and 4 more | 0:2.66.7-2.el8 | RHSA-2021:4526 |
| Red Hat | rhel_aus:7.2::server | glib2, glib2-doc, glib2-fam and 2 more | 0:2.42.2-6.el7_2 | RHSA-2021:2203 |
| Red Hat | rhel_aus:7.3::server | glib2, glib2-doc, glib2-fam and 2 more | 0:2.46.2-5.el7_3 | RHSA-2021:2173 |
| Red Hat | rhel_aus:7.4::server, rhel_e4s:7.4::server, rhel_tus:7.4::server | glib2, glib2-doc, glib2-fam and 4 more | 0:2.50.3-4.el7_4 | RHSA-2021:2174 |
| Red Hat | rhel_els:6 | glib2, glib2-doc, glib2-devel and 2 more | 0:2.28.8-11.el6_10 | RHSA-2021:2467 |
| Red Hat | rhel_eus:7.6::computenode, rhel_eus:7.6::server | glib2, glib2-doc, glib2-fam and 4 more | 0:2.56.1-5.el7_6 | RHSA-2021:2204 |
| Red Hat | rhel_eus:7.7::computenode, rhel_eus:7.7::server | glib2, glib2-doc, glib2-fam and 4 more | 0:2.56.1-6.el7_7 | RHSA-2021:2175 |
| 5 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 10 more | glib2 | 2.54.3-4.24.1 | SUSE-SU-2021:0890-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS and 15 more | glib2 | 2.48.2-12.22.1 | SUSE-SU-2021:0801-1 |
| SUSE | Linux Enterprise Micro 5.0, Linux Enterprise Module for Basesystem 15 SP2 | glib2 | 2.62.6-3.6.1 | SUSE-SU-2021:0778-1 |
| openSUSE | Leap 15.2 | glib2 | 2.62.6-lp152.2.6.1 | openSUSE-SU-2021:0406-1 |
| AlmaLinux | 8 | glib2-doc, glib2-static | 2.56.4-10.el8_4 | ALSA-2021:2170 |
| AlmaLinux | 8 | mingw32-glib2, mingw64-glib2, mingw32-glib2-static and 1 more | 2.66.7-2.el8 | ALSA-2021:4526 |
| Rocky Linux | 8 | glib2 | 0:2.56.4-10.el8_4 | RLSA-2021:2170 |
| Alpine | v3.13, v3.14, v3.15 and 9 more | glib | 2.66.6-r0 | ALPINE-CVE-2021-27219 |
| Azure Linux | 2 | glib | 2.60.1-5 | AZL-6438 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Important.
Applications that just use GBytes to access the data are affected by this flaw but the highest threat is to data confidentiality and/or the application availability, due to possible out-of-bounds reads. However, if the data in GBytes is taken through functions such as g_bytes_unref_to_data or g_bytes_unref_to_array it might be possible to have out-of-bounds writes due to the wrongly reported size of the buffer.
Applications that use g_memdup to duplicate memory with user-controlled sizes should pay extra attention to the fact that g_memdup accepts a guint size instead of gsize. Thus directly passing a gsize value to g_memdup may results in integer truncation, allocating a buffer smaller than expected.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 Extended Lifecycle Support | glib2-0:2.28.8-11.el6_10 | Fixed 2021-06-17 | RHSA-2021:2467 |
| Red Hat Enterprise Linux 7 | glib2-0:2.56.1-9.el7_9 | Fixed 2021-05-31 | RHSA-2021:2147 |
| Red Hat Enterprise Linux 7.2 Advanced Update Support | glib2-0:2.42.2-6.el7_2 | Fixed 2021-06-02 | RHSA-2021:2203 |
| Red Hat Enterprise Linux 7.3 Advanced Update Support | glib2-0:2.46.2-5.el7_3 | Fixed 2021-06-01 | RHSA-2021:2173 |
| Red Hat Enterprise Linux 7.4 Advanced Update Support | glib2-0:2.50.3-4.el7_4 | Fixed 2021-06-01 | RHSA-2021:2174 |
| Red Hat Enterprise Linux 7.4 Telco Extended Update Support | glib2-0:2.50.3-4.el7_4 | Fixed 2021-06-01 | RHSA-2021:2174 |
| Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions | glib2-0:2.50.3-4.el7_4 | Fixed 2021-06-01 | RHSA-2021:2174 |
| Red Hat Enterprise Linux 7.6 Extended Update Support | glib2-0:2.56.1-5.el7_6 | Fixed 2021-06-02 | RHSA-2021:2204 |
| Red Hat Enterprise Linux 7.7 Extended Update Support | glib2-0:2.56.1-6.el7_7 | Fixed 2021-06-01 | RHSA-2021:2175 |
| Red Hat Enterprise Linux 8 | mingw-glib2-0:2.66.7-2.el8 | Fixed 2021-11-09 | RHSA-2021:4526 |
| Red Hat Enterprise Linux 8 | glib2-0:2.56.4-10.el8_4 | Fixed 2021-06-01 | RHSA-2021:2170 |
| Red Hat Enterprise Linux 8.1 Extended Update Support | glib2-0:2.56.4-8.el8_1 | Fixed 2021-06-01 | RHSA-2021:2172 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | glib2-0:2.56.4-8.el8_2.1 | Fixed 2021-06-01 | RHSA-2021:2171 |
| Red Hat Migration Toolkit for Containers 1.4 | rhmtc/openshift-migration-controller-rhel8:v1.4.6-4 | Fixed 2021-07-21 | RHBA-2021:2854 |
| Red Hat Migration Toolkit for Containers 1.4 | rhmtc/openshift-migration-log-reader-rhel8:v1.4.6-4 | Fixed 2021-07-21 | RHBA-2021:2854 |
| Red Hat Migration Toolkit for Containers 1.4 | rhmtc/openshift-migration-must-gather-rhel8:v1.4.6-4 | Fixed 2021-07-21 | RHBA-2021:2854 |
| Red Hat Migration Toolkit for Containers 1.4 | rhmtc/openshift-migration-operator-bundle:v1.4.6-5 | Fixed 2021-07-21 | RHBA-2021:2854 |
| Red Hat Enterprise Linux 6 | firefox | Not affected | |
| Red Hat Enterprise Linux 6 | thunderbird | Not affected | |
| Red Hat Enterprise Linux 9 | glib2 | Not affected | |
| 11 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-27219.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-23-348-10 | Siemens SIMATIC S7-1500 | 2023-12-12 | Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and Facilities | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.