cbcvebase.
CVE-2019-13012
published 2019-06-28

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…

PriorityP342high7.5CVSS 3.0
AVNACLPRNUINSUCNIHAN
EPSS
3.21%
86.7th percentile
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.

Affected

5 ranges
VendorProductVersion rangeFixed in
debianglib2.0< glib2.0 2.60.5-1 (bookworm)glib2.0 2.60.5-1 (bookworm)
gnomeglib>= 2.0.0 < 2.59.12.59.1
msrccbl_mariner_1.0_arm
msrccbl_mariner_1.0_x64
msrccm1_glib_2.58.0-6_on_cbl_mariner_1.0

CVSS provenance

nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_msrc7.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.