CVE-2021-28153
Summary
| CVE | CVE-2021-28153 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-03-11 22:15:12 UTC |
| Updated | 2026-10-14 12:17:10 UTC |
| 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.) |
Risk And Classification
Primary CVSS: v3.1 5.3 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Problem Types: CWE-59 | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| 2.0 | [email protected] | Primary | 5 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
NoneAV:N/AC:L/Au:N/C:N/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Broadcom | Brocade Fabric Operating System Firmware | - | All | All | All |
| Operating System | Debian | Debian Linux | 9.0 | All | All | All |
| Operating System | Fedoraproject | Fedora | 33 | All | All | All |
| Application | Gnome | Glib | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Na | N/a | affected n/a | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| file-roller symlink attack (#2325) · Issues · GNOME / GLib · GitLab | af854a3a-2127-422b-91ae-364da2661108 | gitlab.gnome.org | Exploit, Issue Tracking, Patch, Vendor Advisory |
| [SECURITY] [DLA 3044-1] glib2.0 security update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| [SECURITY] Fedora 33 Update: mingw-glib2-2.66.8-1.fc33 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| [SECURITY] Fedora 33 Update: glib2-2.66.8-1.fc33 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| GLib: Multiple vulnerabilities (GLSA 202107-13) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | Third Party Advisory |
| CVE-2021-28153 GNOME GLib Vulnerability in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | Third Party Advisory |
| [SECURITY] Fedora 33 Update: mingw-glib2-2.66.8-1.fc33 - package-announce - Fedora Mailing-Lists | MITRE | lists.fedoraproject.org | |
| [SECURITY] Fedora 33 Update: glib2-2.66.8-1.fc33 - package-announce - Fedora Mailing-Lists | MITRE | lists.fedoraproject.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 159502 Oracle Enterprise Linux Security Update for glib2 (ELSA-2021-4385)
- 160284 Oracle Enterprise Linux Security Update for mingw-glib2 (ELSA-2022-8418)
- 179358 Debian Security Update for glib2.0 (DLA 3044-1)
- 180373 Debian Security Update for glib2.0 (CVE-2021-28153)
- 198294 Ubuntu Security Notification for Glib2.0 Vulnerability (USN-4764-1)
- 239790 Red Hat Update for glib2 (RHSA-2021:4385)
- 281326 Fedora Security Update for mingw (FEDORA-2021-5c81cb03d0)
- 281450 Fedora Security Update for glib2 (FEDORA-2021-a1f51fc418)
- 296067 Oracle Solaris 11.4 Support Repository Update (SRU) 33.94.0 Missing (CPUAPR2021)
- 354922 Amazon Linux Security Advisory for glib2 : ALAS-2023-1742
- 357268 Amazon Linux Security Advisory for glib2 : ALAS2-2024-2487
- 501413 Alpine Linux Security Update for glib
- 670287 EulerOS Security Update for glib2 (EulerOS-SA-2021-1789)
- 670353 EulerOS Security Update for glib2 (EulerOS-SA-2021-1871)
- 670380 EulerOS Security Update for glib2 (EulerOS-SA-2021-1945)
- 670401 EulerOS Security Update for glib2 (EulerOS-SA-2021-1924)
- 670457 EulerOS Security Update for glib2 (EulerOS-SA-2021-2215)
- 670615 EulerOS Security Update for glib2 (EulerOS-SA-2021-2373)
- 710063 Gentoo Linux GLib Multiple vulnerabilities (GLSA 202107-13)
- 752084 SUSE Enterprise Linux Security Update for glib2 (SUSE-SU-2022:1455-1)
- 752154 SUSE Enterprise Linux Security Update for glib2 (SUSE-SU-2022:1758-1)
- 752950 SUSE Enterprise Linux Security Update for glib2 (SUSE-SU-2022:1758-2)
- 753582 SUSE Enterprise Linux Security Update for glib2 (SUSE-SU-2022:1455-2)
- 755903 SUSE Enterprise Linux Security Update for glib2 (SUSE-SU-2023:0174-1)
- 900256 CBL-Mariner Linux Security Update for glib 2.58.0
- 901042 Common Base Linux Mariner (CBL-Mariner) Security Update for glib (6439-1)
- 903707 Common Base Linux Mariner (CBL-Mariner) Security Update for glib (3976)
- 940270 AlmaLinux Security Update for glib2 (ALSA-2021:4385)
- 940841 AlmaLinux Security Update for mingw-glib2 (ALSA-2022:8418)
- 960672 Rocky Linux Security Update for glib2 (RLSA-2021:4385)