The keyfile settings backend in GNOME GLib (aka glib2.0) before 2.60.0 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.
{ "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.40.2-0ubuntu1.1+esm3", "binary_name": "libglib2.0-0" }, { "binary_version": "2.40.2-0ubuntu1.1+esm3", "binary_name": "libglib2.0-0-dbg" }, { "binary_version": "2.40.2-0ubuntu1.1+esm3", "binary_name": "libglib2.0-0-dbgsym" }, { "binary_version": "2.40.2-0ubuntu1.1+esm3", "binary_name": "libglib2.0-0-refdbg" }, { "binary_version": "2.40.2-0ubuntu1.1+esm3", "binary_name": "libglib2.0-0-refdbg-dbgsym" }, { "binary_version": "2.40.2-0ubuntu1.1+esm3", "binary_name": "libglib2.0-bin" }, { "binary_version": "2.40.2-0ubuntu1.1+esm3", "binary_name": "libglib2.0-bin-dbgsym" }, { "binary_version": "2.40.2-0ubuntu1.1+esm3", "binary_name": "libglib2.0-data" }, { "binary_version": "2.40.2-0ubuntu1.1+esm3", "binary_name": "libglib2.0-dev" }, { "binary_version": "2.40.2-0ubuntu1.1+esm3", "binary_name": "libglib2.0-dev-dbgsym" }, { "binary_version": "2.40.2-0ubuntu1.1+esm3", "binary_name": "libglib2.0-doc" }, { "binary_version": "2.40.2-0ubuntu1.1+esm3", "binary_name": "libglib2.0-tests" }, { "binary_version": "2.40.2-0ubuntu1.1+esm3", "binary_name": "libglib2.0-tests-dbgsym" }, { "binary_version": "2.40.2-0ubuntu1.1+esm3", "binary_name": "libglib2.0-udeb" }, { "binary_version": "2.40.2-0ubuntu1.1+esm3", "binary_name": "libglib2.0-udeb-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.48.2-0ubuntu4.4", "binary_name": "libglib2.0-0" }, { "binary_version": "2.48.2-0ubuntu4.4", "binary_name": "libglib2.0-0-dbg" }, { "binary_version": "2.48.2-0ubuntu4.4", "binary_name": "libglib2.0-0-dbgsym" }, { "binary_version": "2.48.2-0ubuntu4.4", "binary_name": "libglib2.0-0-refdbg" }, { "binary_version": "2.48.2-0ubuntu4.4", "binary_name": "libglib2.0-0-refdbg-dbgsym" }, { "binary_version": "2.48.2-0ubuntu4.4", "binary_name": "libglib2.0-bin" }, { "binary_version": "2.48.2-0ubuntu4.4", "binary_name": "libglib2.0-bin-dbgsym" }, { "binary_version": "2.48.2-0ubuntu4.4", "binary_name": "libglib2.0-data" }, { "binary_version": "2.48.2-0ubuntu4.4", "binary_name": "libglib2.0-dev" }, { "binary_version": "2.48.2-0ubuntu4.4", "binary_name": "libglib2.0-dev-dbgsym" }, { "binary_version": "2.48.2-0ubuntu4.4", "binary_name": "libglib2.0-doc" }, { "binary_version": "2.48.2-0ubuntu4.4", "binary_name": "libglib2.0-tests" }, { "binary_version": "2.48.2-0ubuntu4.4", "binary_name": "libglib2.0-tests-dbgsym" }, { "binary_version": "2.48.2-0ubuntu4.4", "binary_name": "libglib2.0-udeb" }, { "binary_version": "2.48.2-0ubuntu4.4", "binary_name": "libglib2.0-udeb-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.56.4-0ubuntu0.18.04.4", "binary_name": "libglib2.0-0" }, { "binary_version": "2.56.4-0ubuntu0.18.04.4", "binary_name": "libglib2.0-0-dbgsym" }, { "binary_version": "2.56.4-0ubuntu0.18.04.4", "binary_name": "libglib2.0-bin" }, { "binary_version": "2.56.4-0ubuntu0.18.04.4", "binary_name": "libglib2.0-bin-dbgsym" }, { "binary_version": "2.56.4-0ubuntu0.18.04.4", "binary_name": "libglib2.0-data" }, { "binary_version": "2.56.4-0ubuntu0.18.04.4", "binary_name": "libglib2.0-dev" }, { "binary_version": "2.56.4-0ubuntu0.18.04.4", "binary_name": "libglib2.0-dev-bin" }, { "binary_version": "2.56.4-0ubuntu0.18.04.4", "binary_name": "libglib2.0-dev-bin-dbgsym" }, { "binary_version": "2.56.4-0ubuntu0.18.04.4", "binary_name": "libglib2.0-doc" }, { "binary_version": "2.56.4-0ubuntu0.18.04.4", "binary_name": "libglib2.0-tests" }, { "binary_version": "2.56.4-0ubuntu0.18.04.4", "binary_name": "libglib2.0-tests-dbgsym" }, { "binary_version": "2.56.4-0ubuntu0.18.04.4", "binary_name": "libglib2.0-udeb" } ] }