CVE-2019-13012Gnome Glib
High 7.5 No auth needed
Follow: this CVE · Gnome · Gnome Glib We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Glib.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gnome | glib | ≥ 2.0.0 < 2.59.1 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org
- bugs.debian.org
- gitlab.gnome.org Patch Third Party Advisory
- gitlab.gnome.org Third Party Advisory
- gitlab.gnome.org Issue Tracking Third Party Advisory
- lists.apache.org
- lists.apache.org
- lists.debian.org
- lists.debian.org
- security.netapp.com
- usn.ubuntu.com
- usn.ubuntu.com