# CVE-2021-28153: An issue was discovered in GNOME GLib before 2.66.8.

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.71%, higher than 86% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-03-11T21:04:15.000Z
- Modified: 2026-10-14T12:17:10.900Z
- Weaknesses: CWE-59
- Assigned by: mitre

## 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 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.)

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gnome glib: before 2.66.8
- broadcom brocade_fabric_operating_system_firmware: no versions given
- debian debian_linux: 9.0
- fedoraproject fedora: 33

## Every score

- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://gitlab.gnome.org/GNOME/glib/-/issues/2325> (exploit, issue-tracking, patch, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RXTD5HCP2K4AAUSWWZTBKQNHRCTAEOF/> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20210416-0003/> (third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ICUTQPHZNZWX2DZR46QFLQZRHVMHIILJ/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202107-13> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/06/msg00006.html> (mailing-list, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2021-28153](https://www.cve.org/CVERecord?id=CVE-2021-28153), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2021-28153](https://nvd.nist.gov/vuln/detail/CVE-2021-28153), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2021-28153 · Whole record: https://cve.day/CVE-2021-28153.json · Rebuilt by cve.day 2026-11-25T22:58:00.271Z
