CVE-2019-13012
glib2.0 - regression update
7.5
HIGH
CVSS 3.1
EPSS 1.6%
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.
How to fix CVE-2019-13012
To remediate CVE-2019-13012, upgrade the affected package to a fixed version below.
- —upgrade to 2.60.5-1 or later
- —upgrade to 2.42.1-1+deb8u3 or later
Is CVE-2019-13012 being exploited?
Low — EPSS is 1.6%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.60.5-1
- from 0, < 2.42.1-1+deb8u3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |