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

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: mitre

Published: 2021-03-11T21:04:15

Updated: 2022-06-06T16:06:20

Reserved: 2021-03-11T00:00:00


Link: CVE-2021-28153

JSON object: View

cve-icon NVD Information

Status : Modified

Published: 2021-03-11T22:15:12.777

Modified: 2023-11-07T03:32:04.533


Link: CVE-2021-28153

JSON object: View

cve-icon Redhat Information

No data.

CWE