Skip to content
Fencer Vulns
medium 5.3

CVE-2021-28153 json

An issue was discovered in GNOME GLib before 2.66.8

published 2021-03-11 5 y ago modified 2026-10-14 25 d ago also EUVD-2021-14851 , JLSEC-2025-158

cvss
5.3
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.7%
EPSS 2.7% chance of exploitation in 30 days, percentile 86%
public exploits
0
none known

Summary

An issue was discovered in GNOME GLib before 2.66.8. When g_file_replace() is used with G_FILE_CREATE_REPLACE_DESTINATION to replace a path that is a dangling symlink, it incorrectly also creates the target of the symlink as an empty file, which could conceivably have security relevance if the symlink is attacker-controlled. (If the path is a symlink to a file that already exists, then the contents of that file correctly remain unchanged.)

Patch / fix

  • julia Glib_jll 2.68.1+0
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • glib2.0 Debian 14, Debian 13, Debian 12 2.66.7-2

debian advisories DEBIAN-CVE-2021-28153

  • glib2.0 Ubuntu 16.04 LTS 2.48.2-0ubuntu4.8
  • glib2.0 Ubuntu 18.04 LTS 2.56.4-0ubuntu0.18.04.8
  • glib2.0 Ubuntu 20.04 LTS 2.64.6-1~ubuntu20.04.3

ubuntu advisories UBUNTU-CVE-2021-28153

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • mingw-glib2 RHEL 9 2.70.1-2.el9
  • mingw32-glib2 RHEL 9 2.70.1-2.el9
  • mingw64-glib2 RHEL 9 2.70.1-2.el9
  • glib2 RHEL 8 2.56.4-156.el8
  • glib2-fam RHEL 8 2.56.4-156.el8
  • glib2-tests RHEL 8 2.56.4-156.el8

red hat advisories RHSA-2022:8418RHSA-2021:4385

  • glib2 SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS +1 more 2.54.3-150000.4.29.1
  • glib2 SLE Real Time 15 SP3, SLE Micro 5.2, SLE Micro 5.1 +14 more 2.62.6-150200.3.10.1
  • glib2 SLES 12 SP5, SLES 12 SP2-BCL, SLE Workstation Extension 12 SP5 +6 more 2.48.2-12.28.1
  • glib2 SLE Real Time 15 SP2, SLE Module for Basesystem 15 SP3, SLE Micro 5.0 +1 more 2.62.6-150200.3.9.1

suse advisories SUSE-SU-2023:3535-1SUSE-SU-2022:1455-2SUSE-SU-2023:0174-1SUSE-SU-2022:1758-2SUSE-SU-2022:1758-1SUSE-SU-2022:1455-1

  • mingw32-glib2 AlmaLinux 9 2.70.1-2.el9
  • mingw64-glib2 AlmaLinux 9 2.70.1-2.el9

almalinux advisories ALSA-2022:8418

  • glib2 Rocky Linux 8 2.56.4-156.el8

rocky linux advisories RLSA-2021:4385

  • glib Alpine 3.13 2.66.6-r0

alpine advisories ALPINE-CVE-2021-28153

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • glib CBL-Mariner 2.0 2.60.1-5

azure linux advisories AZL-6439

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

  • glib2 Arch Linux 2.68.0-1

arch linux advisories AVG-1680

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-28153 updated cvss 5.3

glib: g_file_replace() with G_FILE_CREATE_REPLACE_DESTINATION creates empty target for dangling symlink

  • Red Hat Enterprise Linux 6 glib2, firefox, thunderbird Red Hat Enterprise Linux 7 glib2, glib2-fam, glib2-tests
    affected: no fix planned “Out of support scope”
  • Red Hat CodeReady Linux Builder (v. 8) glib2-doc 2.56.4-156.el8, glib2-static 2.56.4-156.el8, glib2-debuginfo 2.56.4-156.el8, glib2-debugsource 2.56.4-156.el8, glib2-fam-debuginfo 2.56.4-156.el8, glib2-devel-debuginfo 2.56.4-156.el8, +1 more
    fixed: vendor fix RHSA-2021:4385
  • Red Hat CodeReady Linux Builder (v. 9) mingw-glib2 2.70.1-2.el9, mingw32-glib2 2.70.1-2.el9, mingw64-glib2 2.70.1-2.el9
    fixed: vendor fix RHSA-2022:8418
  • Red Hat Enterprise Linux BaseOS (v. 8) glib2 2.56.4-156.el8, glib2-fam 2.56.4-156.el8, glib2-tests 2.56.4-156.el8
    fixed: vendor fix RHSA-2021:4385
  • Red Hat Enterprise Linux 9 glib2, glib2-tests
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-23-348-10 updated cvss 5.3

Siemens SIMATIC S7-1500

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5
    affected: fixed in V3.1.5, mitigation support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

Exploit prediction

2.71% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • gitlab.gnome.org https://gitlab.gnome.org/GNOME/glib/-/issues/2325 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N
OSV 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected packages

ecosystem package affected fixed in
julia Glib_jll
<2.68.1+0
2.68.1+0

Affected products

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP

Classification

Weakness
  • CWE-59 Improper Link Resolution Before File Access

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.