Vulnerability in GNOME Glib
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 · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.032 (88.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 88th percentile — 88.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.032 · newest: 0.032 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- gitlab.gnome.org/GNOME/glib/issues/1658 (Third Party Advisory)
- gitlab.gnome.org/GNOME/glib/merge_requests/450 (Third Party Advisory, Issue Tracking)
- gitlab.gnome.org/GNOME/glib/commit/5e4da714f00f6bfb2ccd6d73d61329c6f3a08429 (Patch, Third Party Advisory)
- usn.ubuntu.com/4049-1/ (vendor-advisory)
- usn.ubuntu.com/4049-2/ (vendor-advisory)
- lists.opensuse.org/opensuse-security-announce/2019-07/msg00022.html (vendor-advisory)
- bugs.debian.org/cgi-bin/bugreport.cgi
- lists.debian.org/debian-lts-announce/2019/07/msg00029.html (mailing-list)
- lists.debian.org/debian-lts-announce/2019/08/msg00004.html (mailing-list)
- security.netapp.com/advisory/ntap-20190806-0003/
Frequently asked questions
- What is CVE-2019-13012?
- CVE-2019-13012 is a high-severity vulnerability in GNOME Glib, classified under Incorrect Permission Assignment for Critical Resource. CVSS score: 7.5/10. Published 2019-06-28.
- How severe is CVE-2019-13012?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2019-13012 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.