CVE-2021-28153
An issue was discovered in GNOME GLib before 2.66.8.
Published Mar 11, 2021 · updated Oct 14, 2026 · gnome glib
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.)
Timeline
Detection, updates, and resolution for this record.
Mar 11, 2021 · NIST NVD
Detected
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 content
Oct 14, 2026 · NIST NVD
Updated
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 content
Affected
- cpe broadcom/brocade fabric operating system firmwareversion unspecified
- cpe debian/debian linux9.0
- cpe fedoraproject/fedora33
- cpe gnome/glibversion unspecified
Sources
- CVE.orgCVE-2021-28153
Official CVE identifier
cve.org - NIST NVDCVE-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 target of the symlink as an empty file, which could conceivably have security re
nvd.nist.gov