CVE-2021-28153
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-28153 is a vulnerability discovered in GNOME GLib before version 2.66.8. The vulnerability affects the g_file_replace() function when used with G_FILE_CREATE_REPLACE_DESTINATION parameter to replace a path that is a dangling symlink. The issue was disclosed on March 11, 2021, and affects various systems and distributions using the GLib library (NVD).

Technical details

The vulnerability occurs when g_file_replace() is called with G_FILE_CREATE_REPLACE_DESTINATION to replace a path that is a dangling symlink. In this scenario, the function incorrectly creates the target of the symlink as an empty file. However, if the path is a symlink to a file that already exists, the contents of that file correctly remain unchanged. The vulnerability has been assigned a CVSS v3.1 base score of 5.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (NVD).

Impact

The successful exploitation of this vulnerability could lead to addition or modification of data or potential Denial of Service (DoS). The vulnerability has particular security relevance if the symlink is attacker-controlled (NetApp Advisory).

Exploitability

The vulnerability has been assigned a high severity score of 7.1 with the vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H, indicating local access is required for exploitation. Public discussions of this vulnerability have been acknowledged by security vendors (NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in GNOME GLib version 2.66.8. Various distributions have released security updates to address this issue, including Fedora 33 (glib2-2.66.8-1.fc33), Debian 9 stretch (2.50.3-2+deb9u3), and Red Hat Enterprise Linux. Users are advised to upgrade to the patched versions (Debian Advisory, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox
NoYesAug 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management