CVE-2019-13012 Misconfiguration in n/a

High 7.5 Published Updated

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 4All versions2.48.2-12.15.1
glib2 SUSE:Enterprise Storage 5All versions2.48.2-12.15.1
glib2 SUSE:Enterprise Storage 5All versions2.48.2-12.15.1
glib2 SUSE:HPE Helion OpenStack 8All versions2.48.2-12.15.1
glib2 SUSE:Linux Enterprise Desktop 12 SP4All versions2.48.2-12.15.1
glib2 SUSE:Linux Enterprise Module for Basesystem 15All versions2.54.3-4.18.1
glib2 SUSE:Linux Enterprise Module for Basesystem 15 SP1All versions2.54.3-4.18.1
glib2 SUSE:Linux Enterprise Module for Package Hub 15All versions2.54.3-4.18.1
glib2 SUSE:Linux Enterprise Server 12 SP1-LTSSAll versions2.38.2-7.12.1
glib2 SUSE:Linux Enterprise Server 12 SP2-BCLAll versions2.48.2-12.15.1
glib2 SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions2.48.2-12.15.1
glib2 SUSE:Linux Enterprise Server 12 SP3-BCLAll versions2.48.2-12.15.1
glib2 SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions2.48.2-12.15.1
glib2 SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions2.48.2-12.15.1
glib2 SUSE:Linux Enterprise Server 12 SP4All versions2.48.2-12.15.1
glib2 SUSE:Linux Enterprise Server 12-LTSSAll versions2.38.2-7.12.1
glib2 SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions2.38.2-7.12.1
glib2 SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions2.48.2-12.15.1
glib2 SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions2.48.2-12.15.1
glib2 SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions2.48.2-12.15.1
glib2 SUSE:Linux Enterprise Software Development Kit 12 SP4All versions2.48.2-12.15.1
glib2 SUSE:Linux Enterprise Workstation Extension 12 SP4All versions2.48.2-12.15.1
glib2 SUSE:OpenStack Cloud 7All versions2.48.2-12.15.1
glib2 SUSE:OpenStack Cloud 8All versions2.48.2-12.15.1
glib2 SUSE:OpenStack Cloud Crowbar 8All versions2.48.2-12.15.1
glib2 openSUSE:Leap 15.0All versions2.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.

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.

Is CVE-2019-13012 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free