CVE-2021-28153
5.3
MEDIUM
CVSS 3.1
EPSS 0.73%
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.)
How to fix CVE-2021-28153
To remediate CVE-2021-28153, upgrade the affected package to a fixed version below.
- —upgrade to 2.66.6-r0 or later
- —upgrade to 2.66.7-2 or later
Is CVE-2021-28153 being exploited?
Low — EPSS is 0.7%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.66.6-r0
- from 0, < 2.66.7-2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |