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...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSglib2.0 |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSglib2.0 |
< 2.48.2-0ubuntu4.8→ 2.48.2-0ubuntu4.8 |
2.48.2-0ubuntu4.8 |
| Ubuntu:18.04:LTSglib2.0 |
< 2.56.4-0ubuntu0.18.04.8→ 2.56.4-0ubuntu0.18.04.8 |
2.56.4-0ubuntu0.18.04.8 |
| Ubuntu:20.04:LTSglib2.0 |
< 2.64.6-1~ubuntu20.04.3→ 2.64.6-1~ubuntu20.04.3 |
2.64.6-1~ubuntu20.04.3 |
Original description The description as published by the source.
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.)
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report cve.org