CVE-2021-28153
MEDIUM 5.3EPSS 2.7%
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.)
- CVSS v3.1 NVD
- 5.3 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - CVSS v2.0 NVD
- 5.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N - EPSS
- 2.71% chance of exploitation in the next 30 days, 86th percentile
- Published
- 2021-03-11
- Updated
- 2026-10-14
Proof-of-concept exploits (1)
Security advisories
- https://lists.debian.org/debian-lts-announce/2022/06/msg00006.html
- https://security.gentoo.org/glsa/202107-13
- https://security.netapp.com/advisory/ntap-20210416-0003