Vulnerabilities · 2019 · Gnome
CVE-2019-13012
Gnome Glib vulnerability
The keyfile settings backend in GNOME GLib (aka glib2.0) before 2.60.0 creates directories using g_file_make_directory_with_parents (kfsb->dir, NULL, NULL) and files using g_file_replace_contents (kfsb->file, contents, length, NULL, FALSE, G_FILE_CREATE_REPLACE_DESTINATION, 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.
Affected products
Glib. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnome Glib runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gitlab.gnome.org/GNOME/glib/commit/5e4da714f00f6bfb2ccd6d73d61329c6f3a08429 · Patch
- gitlab.gnome.org/GNOME/glib/issues/1658 · Third Party Advisory
- gitlab.gnome.org/GNOME/glib/merge_requests/450 · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-07/msg00022.html
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=931234#12
- lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%
- lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%
- lists.debian.org/debian-lts-announce/2019/07/msg00029.html
- nvd.nist.gov/vuln/detail/CVE-2019-13012
- cve.org/CVERecord?id=CVE-2019-13012
More vulnerabilities in Gnome products
CVE-2025-14512CVE-2025-14087CVE-2025-13601CVE-2025-6199CVE-2025-6196CVE-2025-6052CVE-2025-4056CVE-2025-3155All 321
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.