CVE-2021-28153
Publication date 11 March 2021
Last updated 18 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.)
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| glib2.0 | 25.10 questing |
Not affected
|
| 25.04 plucky |
Not affected
|
|
| 24.04 LTS noble |
Not affected
|
|
| 22.04 LTS jammy |
Not affected
|
|
| 20.04 LTS focal |
Fixed 2.64.6-1~ubuntu20.04.3
|
|
| 18.04 LTS bionic |
Fixed 2.56.4-0ubuntu0.18.04.8
|
|
| 16.04 LTS xenial |
Fixed 2.48.2-0ubuntu4.8
|
|
| 14.04 LTS trusty |
Vulnerable
|
Patch details
| Package | Patch details |
|---|---|
| glib2.0 |
|
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity impact | Low |
| Availability impact | None |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
References
Related Ubuntu Security Notices (USN)
- USN-4764-1
- GLib vulnerability
- 15 March 2021