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.)
References
Configurations
History
No history.
Information
Published : 2021-03-11 22:15
Updated : 2024-11-21 05:59
NVD link : CVE-2021-28153
Mitre link : CVE-2021-28153
CVE.ORG link : CVE-2021-28153
JSON object : View
Products Affected
fedoraproject
- fedora
broadcom
- brocade_fabric_operating_system_firmware
gnome
- glib
debian
- debian_linux
CWE
CWE-59
Improper Link Resolution Before File Access ('Link Following')