# CVE-2021-28153

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-03-11 · Modified: 2026-10-14
- Aliases: ALPINE-CVE-2021-28153, MGASA-2021-0162, SUSE-SU-2022:1455-1, SUSE-SU-2022:1455-2, SUSE-SU-2022:1758-1, SUSE-SU-2022:1758-2, SUSE-SU-2023:0174-1, RHSA-2022:8418, UBUNTU-CVE-2021-28153, USN-4764-1, DEBIAN-CVE-2021-28153
- Record: https://cvemate.com/vulnerability/CVE-2021-28153 · JSON: https://cvemate.com/vulnerability/CVE-2021-28153/json

## Description

```text
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.)
```

## Signals

- CVSS: 5.3 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 2.741%, percentile 86.637%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected (first 20 of 46)

- alpine glib (Alpine Linux): \< 2.66.6-r0
- broadcom brocade\_fabric\_operating\_system\_firmware: na
- debian glib2.0 (Debian): \< 2.66.7-2
- ubuntu glib2.0 (Ubuntu): All versions (No fix recorded) \| \< 2.48.2-0ubuntu4.8 \| \< 2.56.4-0ubuntu0.18.04.8 \| \< 2.64.6-1~ubuntu20.04.3
- debian debian\_linux: 9.0
- fedoraproject fedora: 33
- gnome glib: \< 2.66.8
- mageia glib2.0 (Mageia): \< 2.66.8-1.mga8
- mageia mingw-glib2 (Mageia): \< 2.66.8-1.mga8
- opensuse glib2&distro=openSUSE Leap 15.3 (openSUSE): \< 2.62.6-150200.3.9.1
- opensuse glib2&distro=openSUSE Leap 15.4 (openSUSE): \< 2.62.6-150200.3.10.1
- opensuse glib2&distro=openSUSE Leap Micro 5.2 (openSUSE): \< 2.62.6-150200.3.10.1
- redhat mingw-glib2 (Red Hat): \< 0:2.70.1-2.el9
- redhat mingw32-glib2 (Red Hat): \< 0:2.70.1-2.el9
- redhat mingw32-glib2-debuginfo (Red Hat): \< 0:2.70.1-2.el9
- redhat mingw32-glib2-static (Red Hat): \< 0:2.70.1-2.el9
- redhat mingw64-glib2 (Red Hat): \< 0:2.70.1-2.el9
- redhat mingw64-glib2-debuginfo (Red Hat): \< 0:2.70.1-2.el9
- redhat mingw64-glib2-static (Red Hat): \< 0:2.70.1-2.el9
- suse glib2&distro=SUSE Enterprise Storage 7 (SUSE Linux Enterprise): \< 2.62.6-150200.3.10.1

## References (first 20 of 29)

- <https://gitlab.gnome.org/GNOME/glib/-/issues/2325>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RXTD5HCP2K4AAUSWWZTBKQNHRCTAEOF/>
- <https://security.netapp.com/advisory/ntap-20210416-0003/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ICUTQPHZNZWX2DZR46QFLQZRHVMHIILJ/>
- <https://security.gentoo.org/glsa/202107-13>
- <https://lists.debian.org/debian-lts-announce/2022/06/msg00006.html>
- <https://security.alpinelinux.org/vuln/CVE-2021-28153>
- <https://advisories.mageia.org/MGASA-2021-0162.html>
- <https://bugs.mageia.org/show_bug.cgi?id=28612>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20221455-1/>
- <https://bugzilla.suse.com/1183533>
- <https://www.suse.com/security/cve/CVE-2021-28153>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20221455-2/>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20221758-1/>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20221758-2/>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20230174-1/>
- <https://access.redhat.com/errata/RHSA-2022:8418>
- <https://access.redhat.com/security/updates/classification/#low>
- <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.1_release_notes/index>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1938291>

---

Data as of 2026-12-05T08:38:46.693Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
