VDB

CVE-2019-13012

CVE-2019-13012 PUBLISHED

Reported by mitre · Published June 28, 2019

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
glib2.0Ubuntu:Pro:14.04:LTS2.40.2-0ubuntu1.1+esm3
glib2.0Ubuntu:16.04:LTS2.48.2-0ubuntu4.4
glib2.0Ubuntu:18.04:LTS2.56.4-0ubuntu0.18.04.4
glibgnome2.59.1

Affected products

VendorProductVersions
n/an/an/a
n/an/a*

Timeline

  • Jun 28, 2019 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Oct 14, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch (7 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (10 in total, the first dated here)
  • Sep 15, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-13012
vulnetix vdb fixes CVE-2019-13012

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-13012/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›