CVE-2019-13012 Misconfiguration in n/a
The GNOME GLib keyfile backend creates files and directories with overly permissive permissions, allowing local attackers to read or modify sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-13012?
CVE-2019-13012 is a high-severity vulnerability in n/a, published on 28 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-732
Which versions are affected by CVE-2019-13012?
It affects 1 product.
Linux distribution packages (26)
glib2 SUSE:Enterprise Storage 4 | All versions | 2.48.2-12.15.1 |
glib2 SUSE:Enterprise Storage 5 | All versions | 2.48.2-12.15.1 |
glib2 SUSE:Enterprise Storage 5 | All versions | 2.48.2-12.15.1 |
glib2 SUSE:HPE Helion OpenStack 8 | All versions | 2.48.2-12.15.1 |
glib2 SUSE:Linux Enterprise Desktop 12 SP4 | All versions | 2.48.2-12.15.1 |
glib2 SUSE:Linux Enterprise Module for Basesystem 15 | All versions | 2.54.3-4.18.1 |
glib2 SUSE:Linux Enterprise Module for Basesystem 15 SP1 | All versions | 2.54.3-4.18.1 |
glib2 SUSE:Linux Enterprise Module for Package Hub 15 | All versions | 2.54.3-4.18.1 |
glib2 SUSE:Linux Enterprise Server 12 SP1-LTSS | All versions | 2.38.2-7.12.1 |
glib2 SUSE:Linux Enterprise Server 12 SP2-BCL | All versions | 2.48.2-12.15.1 |
glib2 SUSE:Linux Enterprise Server 12 SP2-LTSS | All versions | 2.48.2-12.15.1 |
glib2 SUSE:Linux Enterprise Server 12 SP3-BCL | All versions | 2.48.2-12.15.1 |
glib2 SUSE:Linux Enterprise Server 12 SP3-LTSS | All versions | 2.48.2-12.15.1 |
glib2 SUSE:Linux Enterprise Server 12 SP3-LTSS | All versions | 2.48.2-12.15.1 |
glib2 SUSE:Linux Enterprise Server 12 SP4 | All versions | 2.48.2-12.15.1 |
glib2 SUSE:Linux Enterprise Server 12-LTSS | All versions | 2.38.2-7.12.1 |
glib2 SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | All versions | 2.38.2-7.12.1 |
glib2 SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | All versions | 2.48.2-12.15.1 |
glib2 SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | All versions | 2.48.2-12.15.1 |
glib2 SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | All versions | 2.48.2-12.15.1 |
glib2 SUSE:Linux Enterprise Software Development Kit 12 SP4 | All versions | 2.48.2-12.15.1 |
glib2 SUSE:Linux Enterprise Workstation Extension 12 SP4 | All versions | 2.48.2-12.15.1 |
glib2 SUSE:OpenStack Cloud 7 | All versions | 2.48.2-12.15.1 |
glib2 SUSE:OpenStack Cloud 8 | All versions | 2.48.2-12.15.1 |
glib2 SUSE:OpenStack Cloud Crowbar 8 | All versions | 2.48.2-12.15.1 |
glib2 openSUSE:Leap 15.0 | All versions | 2.54.3-lp150.3.13.1 |
Products include Gnome Glib.
How do I fix CVE-2019-13012?
Upgrade to a fixed version.
Is CVE-2019-13012 being exploited?
There is no known exploitation of CVE-2019-13012 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2020-35457 Integer overflow in n/a
- CVE-2009-3289 Privilege escalation in n/a
- CVE-2025-13601 Glib: integer overflow in in g_escape_uri_string()
- CVE-2026-58016 Glib: integer underflow in gio/gdbusintrospection.c via "g_dbus_node_info_new_for_xml"
- CVE-2025-4056 Glib: glib crash after long command line
Sources
Also known as DEBIAN-CVE-2019-13012, DLA-1866-2, GHSA-4cmr-h54h-4w78, JLSEC-2025-154, SUSE-SU-2019:1824-1, SUSE-SU-2019:1830-1 and 6 more.