Symlink Vulnerability in GNOME GLib Affects File Handling
CVE-2021-28153
5.3MEDIUM
What is CVE-2021-28153?
A vulnerability in GNOME GLib prior to version 2.66.8 allows for improper handling of dangling symlinks when using g_file_replace() with the G_FILE_CREATE_REPLACE_DESTINATION flag. This issue could lead to the unintended creation of an empty file at the destination of the symlink if controlled by an attacker. While existing files remain unchanged when the symlink points to them, this behavior raises concerns regarding potential exploitation and manipulation of files in systems leveraging this library.