{"api_version":"1","generated_at":"2026-04-20T04:41:19+00:00","cve":"CVE-2021-28153","urls":{"html":"https://cve.report/CVE-2021-28153","api":"https://cve.report/api/cve/CVE-2021-28153.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-28153","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-28153"},"summary":{"title":"CVE-2021-28153","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.)","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-03-11 22:15:00","updated_at":"2023-11-07 03:32:00"},"problem_types":["CWE-59"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6RXTD5HCP2K4AAUSWWZTBKQNHRCTAEOF/","name":"FEDORA-2021-a1f51fc418","refsource":"FEDORA","tags":["Mailing List","Third Party Advisory"],"title":"[SECURITY] Fedora 33 Update: glib2-2.66.8-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.netapp.com/advisory/ntap-20210416-0003/","name":"https://security.netapp.com/advisory/ntap-20210416-0003/","refsource":"CONFIRM","tags":[],"title":"CVE-2021-28153 GNOME GLib Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://gitlab.gnome.org/GNOME/glib/-/issues/2325","name":"https://gitlab.gnome.org/GNOME/glib/-/issues/2325","refsource":"MISC","tags":["Exploit","Issue Tracking","Patch","Vendor Advisory"],"title":"file-roller symlink attack (#2325) · Issues · GNOME / GLib · GitLab","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202107-13","name":"GLSA-202107-13","refsource":"GENTOO","tags":[],"title":"GLib: Multiple vulnerabilities (GLSA 202107-13) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ICUTQPHZNZWX2DZR46QFLQZRHVMHIILJ/","name":"FEDORA-2021-5c81cb03d0","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: mingw-glib2-2.66.8-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2022/06/msg00006.html","name":"[debian-lts-announce] 20220606 [SECURITY] [DLA 3044-1] glib2.0 security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3044-1] glib2.0 security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RXTD5HCP2K4AAUSWWZTBKQNHRCTAEOF/","name":"FEDORA-2021-a1f51fc418","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: glib2-2.66.8-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ICUTQPHZNZWX2DZR46QFLQZRHVMHIILJ/","name":"FEDORA-2021-5c81cb03d0","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: mingw-glib2-2.66.8-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-28153","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28153","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"28153","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"broadcom","cpe5":"brocade_fabric_operating_system_firmware","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"28153","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"28153","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"28153","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gnome","cpe5":"glib","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-28153","qid":"159502","title":"Oracle Enterprise Linux Security Update for glib2 (ELSA-2021-4385)"},{"cve":"CVE-2021-28153","qid":"160284","title":"Oracle Enterprise Linux Security Update for mingw-glib2 (ELSA-2022-8418)"},{"cve":"CVE-2021-28153","qid":"179358","title":"Debian Security Update for glib2.0 (DLA 3044-1)"},{"cve":"CVE-2021-28153","qid":"180373","title":"Debian Security Update for glib2.0 (CVE-2021-28153)"},{"cve":"CVE-2021-28153","qid":"198294","title":"Ubuntu Security Notification for Glib2.0 Vulnerability (USN-4764-1)"},{"cve":"CVE-2021-28153","qid":"239790","title":"Red Hat Update for glib2 (RHSA-2021:4385)"},{"cve":"CVE-2021-28153","qid":"281326","title":"Fedora Security Update for mingw (FEDORA-2021-5c81cb03d0)"},{"cve":"CVE-2021-28153","qid":"281450","title":"Fedora Security Update for glib2 (FEDORA-2021-a1f51fc418)"},{"cve":"CVE-2021-28153","qid":"296067","title":"Oracle Solaris 11.4 Support Repository Update (SRU) 33.94.0 Missing (CPUAPR2021)"},{"cve":"CVE-2021-28153","qid":"354922","title":"Amazon Linux Security Advisory for glib2 : ALAS-2023-1742"},{"cve":"CVE-2021-28153","qid":"357268","title":"Amazon Linux Security Advisory for glib2 : ALAS2-2024-2487"},{"cve":"CVE-2021-28153","qid":"501413","title":"Alpine Linux Security Update for glib"},{"cve":"CVE-2021-28153","qid":"670287","title":"EulerOS Security Update for glib2 (EulerOS-SA-2021-1789)"},{"cve":"CVE-2021-28153","qid":"670353","title":"EulerOS Security Update for glib2 (EulerOS-SA-2021-1871)"},{"cve":"CVE-2021-28153","qid":"670380","title":"EulerOS Security Update for glib2 (EulerOS-SA-2021-1945)"},{"cve":"CVE-2021-28153","qid":"670401","title":"EulerOS Security Update for glib2 (EulerOS-SA-2021-1924)"},{"cve":"CVE-2021-28153","qid":"670457","title":"EulerOS Security Update for glib2 (EulerOS-SA-2021-2215)"},{"cve":"CVE-2021-28153","qid":"670615","title":"EulerOS Security Update for glib2 (EulerOS-SA-2021-2373)"},{"cve":"CVE-2021-28153","qid":"710063","title":"Gentoo Linux GLib Multiple vulnerabilities (GLSA 202107-13)"},{"cve":"CVE-2021-28153","qid":"752084","title":"SUSE Enterprise Linux Security Update for glib2 (SUSE-SU-2022:1455-1)"},{"cve":"CVE-2021-28153","qid":"752154","title":"SUSE Enterprise Linux Security Update for glib2 (SUSE-SU-2022:1758-1)"},{"cve":"CVE-2021-28153","qid":"752950","title":"SUSE Enterprise Linux Security Update for glib2 (SUSE-SU-2022:1758-2)"},{"cve":"CVE-2021-28153","qid":"753582","title":"SUSE Enterprise Linux Security Update for glib2 (SUSE-SU-2022:1455-2)"},{"cve":"CVE-2021-28153","qid":"755903","title":"SUSE Enterprise Linux Security Update for glib2 (SUSE-SU-2023:0174-1)"},{"cve":"CVE-2021-28153","qid":"900256","title":"CBL-Mariner Linux Security Update for glib 2.58.0"},{"cve":"CVE-2021-28153","qid":"901042","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for glib (6439-1)"},{"cve":"CVE-2021-28153","qid":"903707","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for glib (3976)"},{"cve":"CVE-2021-28153","qid":"940270","title":"AlmaLinux Security Update for glib2 (ALSA-2021:4385)"},{"cve":"CVE-2021-28153","qid":"940841","title":"AlmaLinux Security Update for mingw-glib2 (ALSA-2022:8418)"},{"cve":"CVE-2021-28153","qid":"960672","title":"Rocky Linux Security Update for glib2 (RLSA-2021:4385)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-28153","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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.)"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://gitlab.gnome.org/GNOME/glib/-/issues/2325","refsource":"MISC","name":"https://gitlab.gnome.org/GNOME/glib/-/issues/2325"},{"refsource":"FEDORA","name":"FEDORA-2021-a1f51fc418","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6RXTD5HCP2K4AAUSWWZTBKQNHRCTAEOF/"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20210416-0003/","url":"https://security.netapp.com/advisory/ntap-20210416-0003/"},{"refsource":"FEDORA","name":"FEDORA-2021-5c81cb03d0","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ICUTQPHZNZWX2DZR46QFLQZRHVMHIILJ/"},{"refsource":"GENTOO","name":"GLSA-202107-13","url":"https://security.gentoo.org/glsa/202107-13"},{"refsource":"MLIST","name":"[debian-lts-announce] 20220606 [SECURITY] [DLA 3044-1] glib2.0 security update","url":"https://lists.debian.org/debian-lts-announce/2022/06/msg00006.html"}]}},"nvd":{"publishedDate":"2021-03-11 22:15:00","lastModifiedDate":"2023-11-07 03:32:00","problem_types":["CWE-59"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.9,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gnome:glib:*:*:*:*:*:*:*:*","versionEndExcluding":"2.66.8","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:broadcom:brocade_fabric_operating_system_firmware:-:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"28153","Ordinal":"203309","Title":"CVE-2021-28153","CVE":"CVE-2021-28153","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"28153","Ordinal":"1","NoteData":"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.)","Type":"Description","Title":null},{"CveYear":"2021","CveId":"28153","Ordinal":"2","NoteData":"2021-03-11","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"28153","Ordinal":"3","NoteData":"2021-07-07","Type":"Other","Title":"Modified"}]}}}