CVE-2019-13012
Publication date 28 June 2019
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| glib2.0 | ||
| 18.04 LTS bionic |
Fixed 2.56.4-0ubuntu0.18.04.4
|
|
| 16.04 LTS xenial |
Fixed 2.48.2-0ubuntu4.4
|
|
| 14.04 LTS trusty |
Fixed 2.40.2-0ubuntu1.1+esm3
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity impact | High |
| Availability impact | None |
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
References
Related Ubuntu Security Notices (USN)
- USN-4049-2
- GLib vulnerability
- 8 July 2019
- USN-4049-1
- GLib vulnerability
- 8 July 2019