MGASA-2021-0162 - Updated glib2.0 packages fix security vulnerability

Publication date: 30 Mar 2021
URL: https://advisories.mageia.org/MGASA-2021-0162.html
Type: security
Affected Mageia releases: 8
CVE: CVE-2021-28153

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.)
(CVE-2021-28153)

References:
- https://bugs.mageia.org/show_bug.cgi?id=28612
- https://gitlab.gnome.org/GNOME/glib/-/issues/2325
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28153

SRPMS:
- 8/core/glib2.0-2.66.8-1.mga8
- 8/core/mingw-glib2-2.66.8-1.mga8

Mageia 2021-0162: glib2.0 security update

An issue was discovered in GNOME GLib before 2.66.8

Summary

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.) (CVE-2021-28153)

References

- https://bugs.mageia.org/show_bug.cgi?id=28612

- https://gitlab.gnome.org/GNOME/glib/-/issues/2325

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28153

Resolution

MGASA-2021-0162 - Updated glib2.0 packages fix security vulnerability

SRPMS

- 8/core/glib2.0-2.66.8-1.mga8

- 8/core/mingw-glib2-2.66.8-1.mga8

Severity
Publication date: 30 Mar 2021
URL: https://advisories.mageia.org/MGASA-2021-0162.html
Type: security
CVE: CVE-2021-28153

Related News