CVE-2019-13012

Summary

CVECVE-2019-13012
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2019-06-28 15:15:00 UTC
Updated2023-11-07 03:03:00 UTC
DescriptionThe 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.

Risk And Classification

Problem Types: CWE-732

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Gnome Glib All All All All
Application Gnome Glib All All All All

References

ReferenceSourceLinkTags
[SECURITY] [DLA 1866-1] glib2.0 security update MLIST lists.debian.org
[bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 lists.apache.org
Pony Mail! MLIST lists.apache.org
[SECURITY] [DLA 1866-2] glib2.0 regression update MLIST lists.debian.org
USN-4049-2: GLib vulnerability | Ubuntu security notices UBUNTU usn.ubuntu.com
#931234 - glib2.0: CVE-2019-13012: keyfile settings backend: Consider tightening permissions - Debian Bug report logs CONFIRM bugs.debian.org
USN-4049-1: GLib vulnerability | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com
CVE-2019-13012 GNOME GLib Vulnerability in NetApp Products | NetApp Product Security CONFIRM security.netapp.com
Settings portal (!450) · Merge Requests · GNOME / GLib · GitLab MISC gitlab.gnome.org Issue Tracking, Third Party Advisory
Pony Mail! MLIST lists.apache.org
[bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 lists.apache.org
keyfile settings: Use tighter permissions (5e4da714) · Commits · GNOME / GLib · GitLab MISC gitlab.gnome.org Patch, Third Party Advisory
[security-announce] openSUSE-SU-2019:1749-1: moderate: Security update f SUSE lists.opensuse.org
keyfile settings backend: Consider tightening permissions (#1658) · Issues · GNOME / GLib · GitLab MISC gitlab.gnome.org Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159189 Oracle Enterprise Linux Security Update for GNOME (ELSA-2021-1586)
  • 239335 Red Hat Update for GNOME (RHSA-2021:1586)
  • 354922 Amazon Linux Security Advisory for glib2 : ALAS-2023-1742
  • 377338 Alibaba Cloud Linux Security Update for glib2 (ALINUX3-SA-2021:0055)
  • 900016 CBL-Mariner Linux Security Update for glib 2.58.0
  • 902850 Common Base Linux Mariner (CBL-Mariner) Security Update for glib (1921)
  • 940249 AlmaLinux Security Update for GNOME (ALSA-2021:1586)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report