CVE-2021-28153
Last modified
CVE-2021-28153 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 2.62% chance of exploitation in the next 30 days.
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.)
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnome | Glib | < 2.66.8 |
| Broadcom | Brocade Fabric Operating System Firmware | All versions |
| Debian | Debian Linux | 9.0 |
| Fedoraproject | Fedora | 33 |
References
- https://gitlab.gnome.org/GNOME/glib/-/issues/2325Exploit, Issue Tracking, Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2022/06/msg00006.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202107-13Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210416-0003/Third Party Advisory
- https://gitlab.gnome.org/GNOME/glib/-/issues/2325Exploit, Issue Tracking, Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2022/06/msg00006.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202107-13Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210416-0003/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-28153?
How severe is CVE-2021-28153?
How do I fix CVE-2021-28153?
Are you affected by CVE-2021-28153?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
