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 files using g_file_replace_contents (kfs...
HighCVSS 7.5
EPSS 3.2%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/glib2.0(Debian:12) | < 2.60.5-1 | 2.60.5-1 |
| debian/glib2.0(Debian:13) | < 2.60.5-1 | 2.60.5-1 |
| debian/glib2.0(Debian:14) | < 2.60.5-1 | 2.60.5-1 |
| GNOME glib | >= 2.0.0, < 2.59.1 | 2.59.1 |
References
- Debian Security Tracker CVE-2019-13012 vendor-advisory
- openSUSE-SU-2019:1749 vendor-advisory
- bugs.debian.org
- gitlab.gnome.org patch third-party-advisory
- gitlab.gnome.org third-party-advisory
- gitlab.gnome.org issue-tracking third-party-advisory
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list
- [debian-lts-announce] 20190731 [SECURITY] [DLA 1866-1] glib2.0 security update mailing-list
- [debian-lts-announce] 20190805 [SECURITY] [DLA 1866-2] glib2.0 regression update mailing-list
- security.netapp.com
- USN-4049-1 vendor-advisory
- USN-4049-2 vendor-advisory
- bugs.debian.org issue-tracking