Live threats

All CVEs / Gnome

CVE-2019-13012Gnome Glib

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
3.2%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Jun 28, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-732
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Glib.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
gnomeglib≥ 2.0.0 < 2.59.1

Official sources

References

Links published by the sources. Open them with care.