CVE-2021-28153
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
02 Description
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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 2.70% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 85.7% of scored records. A rank, not a probability.
- NVD base score
- 5.3 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-14.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-03-11 21:04Z5 YR AGO
- Last updated
- 2026-10-14 11:39Z15 DAYS AGO
- Reserved
- 2021-03-11
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-59Improper Link Resolution Before File Access ('Link Following')Base
- Data version
- 5.2
- Document digest
- 876bcd2225374b3d6d262e171a35660edeb1791a648f9eb4829c0fd72432e2fb
05 Affected products
06 References
- gitlab.gnome.orghttps://gitlab.gnome.org/GNOME/glib/-/issues/2325
- lists.fedoraproject.orgFEDORA-2021-a1f51fc418https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RXTD5HCP2K4AAUSWWZTBKQNHRCTAEOF/
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20210416-0003/
- lists.fedoraproject.orgFEDORA-2021-5c81cb03d0https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ICUTQPHZNZWX2DZR46QFLQZRHVMHIILJ/
- security.gentoo.orgGLSA-202107-13https://security.gentoo.org/glsa/202107-13
- lists.debian.org[debian-lts-announce] 20220606 [SECURITY] [DLA 3044-1] glib2.0 security updatehttps://lists.debian.org/debian-lts-announce/2022/06/msg00006.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-398330.html
07 Fixed in
AlmaLinux 8
- glib2-doc Fixed in 2.56.4-156.el8
- glib2-static Fixed in 2.56.4-156.el8
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- mingw32-glib2 Fixed in 2.70.1-2.el9
- mingw32-glib2-static Fixed in 2.70.1-2.el9
- mingw64-glib2 Fixed in 2.70.1-2.el9
- mingw64-glib2-static Fixed in 2.70.1-2.el9
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- glib2 Fixed in 2.68.0-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 8
- glib2-doc Fixed in 2.56.4-156.el8
- glib2-static Fixed in 2.56.4-156.el8
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- mingw32-glib2 Fixed in 2.70.1-2.el9
- mingw32-glib2-static Fixed in 2.70.1-2.el9
- mingw64-glib2 Fixed in 2.70.1-2.el9
- mingw64-glib2-static Fixed in 2.70.1-2.el9
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- glib2.0 Fixed in 2.66.7-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- glib2.0 Fixed in 2.66.7-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- glib2.0 Fixed in 2.66.7-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- glib2.0 Fixed in 2.48.2-0ubuntu4.8
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- glib2.0 Fixed in 2.56.4-0ubuntu0.18.04.8
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- glib2.0 Fixed in 2.64.6-1~ubuntu20.04.3
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- glib2.0 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.