CVE-2019-13012
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| glib2.0 | Ubuntu:Pro:14.04:LTS | 2.40.2-0ubuntu1.1+esm3 |
| glib2.0 | Ubuntu:16.04:LTS | 2.48.2-0ubuntu4.4 |
| glib2.0 | Ubuntu:18.04:LTS | 2.56.4-0ubuntu0.18.04.4 |
| glib | gnome | 2.59.1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/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
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- USN-4049-1 vendor-advisoryx_refsource_UBUNTU
- USN-4049-2 vendor-advisoryx_refsource_UBUNTU
- openSUSE-SU-2019:1749 vendor-advisoryx_refsource_SUSE
- x_refsource_CONFIRM
- [debian-lts-announce] 20190731 [SECURITY] [DLA 1866-1] glib2.0 security update mailing-listx_refsource_MLIST
- [debian-lts-announce] 20190805 [SECURITY] [DLA 1866-2] glib2.0 regression update mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-listx_refsource_MLIST
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-listx_refsource_MLIST