VULNERABILITY INTELLIGENCE

CVE-2021-28153

CVSS score5.3 MEDIUM
EPSS probability2.71%
CISA KEVNot currently listed
Published2021-03-11
Last modified2026-10-14
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Description

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

Weakness classification

  • nvd@nist.gov: CWE-59

Primary references