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.)
Published: 2021-03-11
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-3044-1 glib2.0 security update
EUVD EUVD EUVD-2021-14851 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.)
Ubuntu USN Ubuntu USN USN-4764-1 GLib vulnerability
History

No history.

Subscriptions

Broadcom Brocade Fabric Operating System Firmware
Debian Debian Linux
Fedoraproject Fedora
Gnome Glib
Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-03T21:40:12.088Z

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

Link: CVE-2021-28153

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2024-11-21T05:59:11.820

Link: CVE-2021-28153

cve-icon Redhat

Severity : Low

Publid Date: 2021-03-10T00:00:00Z

Links: CVE-2021-28153 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses