CVE-2019-13012

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.

Published: 2019-06-28 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2019-13012 is rated Moderate Risk (59.4/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.60%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2019-13012

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-05 0.84% 1.60% +0.76%
2 2025-11-21 1.50% 0.84% -0.65%
3 2025-11-18 1.50%

Full EPSS history (22 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2019-13012

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.0 HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 3.6 [email protected]
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
10.0 2.9 [email protected]

Weakness enumeration for CVE-2019-13012

OS Trackers for CVE-2019-13012

vendor priority summary link
debian not yet assigned CVE-2019-13012 not yet assigned priority: Debian including 1 source packages (glib2.0), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2019-13012
redhat low https://access.redhat.com/security/cve/CVE-2019-13012
suse high CVE-2019-13012 severity important: SUSE including 110 source package names (0.1.0:libglib-2_0-0-2.54.3-4.18.1, 0.1.75:glib2-tools-2.54.3-4.18.1, …), 526 product×package rows across 97 product lines (Container caasp/v4/389-ds, Container caasp/v4/busybox, … (97 product lines)): Fixed 521, Known Not Affected 5. https://www.suse.com/security/cve/CVE-2019-13012/
ubuntu medium CVE-2019-13012 medium priority: Ubuntu including 1 source packages (glib2.0), 6 status rows across 6 suites (bionic, cosmic, disco, trusty, upstream, xenial): released 5, not-affected 1. https://ubuntu.com/security/CVE-2019-13012

Affected software / configurations for CVE-2019-13012

Vendor Product Version Raw CPE
gnome glib >= 2.0.0, < 2.59.1 cpe:2.3:a:gnome:glib:*:*:*:*:*:*:*:*

References for CVE-2019-13012

URL Tags
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00022.html
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931234#12
https://gitlab.gnome.org/GNOME/glib/commit/5e4da714f00f6bfb2ccd6d73d61329c6f3a08429 Patch Third Party Advisory
https://gitlab.gnome.org/GNOME/glib/issues/1658 Third Party Advisory
https://gitlab.gnome.org/GNOME/glib/merge_requests/450 Issue Tracking Third Party Advisory
https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
https://lists.debian.org/debian-lts-announce/2019/07/msg00029.html
https://lists.debian.org/debian-lts-announce/2019/08/msg00004.html
https://security.netapp.com/advisory/ntap-20190806-0003/
https://usn.ubuntu.com/4049-1/
https://usn.ubuntu.com/4049-2/
cvelogic Threat Intelligence