UNIX symbolic link following in Gnome GLib - CVE-2021-28153

 

UNIX symbolic link following in Gnome GLib - CVE-2021-28153

Published: March 15, 2021


Vulnerability identifier: #VU51454
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-28153
CWE-ID: CWE-61
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Gnome Development Team
Affected software:
Gnome GLib

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a symlink following issue, when g_file_replace() is used with G_FILE_CREATE_REPLACE_DESTINATION. A local user can create a specially crafted symbolic link to a critical file on the system and overwrite it with privileges of the application.

Successful exploitation of this vulnerability may result in privilege escalation.


How to mitigate CVE-2021-28153

Install updates from vendor's website.

Sources