REDHAT-BUG-1728632: Low severity Gnome GLib vulnerability
The keyfile settings backend in GNOME GLib (aka glib2.0) before 2.59.1 creates directories using gfilemakedirectorywithparents (kfsb->dir, NULL, NULL) and files using gfilereplacecontents (kfsb->file, contents, length, NULL, FALSE, GFILECREATEREPLACEDESTINATION, NULL, NULL, NULL). Consequently, it does not properly restrict directory (and file) permissions. Instead, for directories, 0777 permissions are used; for files, default file permissions are used. This is similar to CVE-2019-12450.
Reference: https://gitlab.gnome.org/GNOME/glib/issues/1658
Upstream commit: https://gitlab.gnome.org/GNOME/glib/commit/5e4da714f00f6bfb2ccd6d73d61329c6f3a08429
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-1728632?
The severity of REDHAT-BUG-1728632 is considered moderate as it pertains to improper handling of file and directory creation.
How do I fix REDHAT-BUG-1728632?
To fix REDHAT-BUG-1728632, upgrade GNOME GLib to version 2.59.1 or later.
What are the potential impacts of REDHAT-BUG-1728632?
The potential impacts of REDHAT-BUG-1728632 include unauthorized file and directory creation, which could lead to security vulnerabilities.
Which versions of GNOME GLib are affected by REDHAT-BUG-1728632?
GNOME GLib versions prior to 2.59.1 are affected by REDHAT-BUG-1728632.
Is there a workaround for REDHAT-BUG-1728632?
There is no official workaround for REDHAT-BUG-1728632, and upgrading is the recommended action.