Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2019-13012

glib2: insecure permissions for files and directories

Overview

Published
28 Jun 2019
Modified
17 Jun 2026
High CVE
1 Registry packages
126 OS packages
9 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.0 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Weakness: CWE-732

Affected packages · 1

Packages affected by CVE-2019-13012
EcosystemPackageVulnerableFixed in
Julia Glib_jll <2.68.1+0 2.68.1+0

Open a package to see all its vulnerabilities.

Operating systems · 127 fixes

Oracle Linux 1 release · 40 packages

fixed 40
libepubgen gamin vala dleyna-core accountsservice woff2 +34
Oracle Linux fixes for CVE-2019-13012
ReleasePackageFixed in
8 libepubgen +1 0.1.0-3.el8
8 gamin +1 0.1.10-32.el8
8 vala +1 0.40.19-2.el8
8 dleyna-core +1 0.6.0-3.el8
8 accountsservice +2 0.6.55-1.el8
8 woff2 +1 1.0.2-5.el8

34 more rows

Red Hat 2 releases · 3 packages

affected 1 fixed 3
glib2 webkit2gtk3 gdm
Red Hat fixes for CVE-2019-13012
ReleasePackageFixed inAdvisory
7 glib2 +5 affected —
8 webkit2gtk3 +3 0:2.30.4-1.el8 RHSA-2021:1586
8 glib2 +5 0:2.56.4-9.el8 RHSA-2021:1586
8 gdm 1:3.28.3-39.el8 RHSA-2021:1586

alma 1 release · 32 packages

fixed 32
libepubgen gamin-devel vala dleyna-core accountsservice-devel woff2 +26
alma fixes for CVE-2019-13012
ReleasePackageFixed in
8 libepubgen +1 0.1.0-3.el8
8 gamin-devel 0.1.10-32.el8
8 vala +1 0.40.19-2.el8
8 dleyna-core +1 0.6.0-3.el8
8 accountsservice-devel 0.6.55-1.el8
8 woff2 +1 1.0.2-5.el8

26 more rows

debian 6 releases · 1 package

fixed 6
glib2-0
debian fixes for CVE-2019-13012
ReleasePackageFixed in
10 glib2-0 2.58.3-2+deb10u1
11 glib2-0 2.60.5-1
12 glib2-0 2.60.5-1
13 glib2-0 2.60.5-1
14 glib2-0 2.60.5-1
9 glib2-0 2.50.3-2+deb9u1

echo 1 release · 1 package

fixed 1
glib2-0
echo fixes for CVE-2019-13012
ReleasePackageFixed in
glib2-0 2.60.5-1

rocky 1 release · 35 packages

fixed 36
libepubgen gamin dleyna-core accountsservice woff2 cairomm +29
rocky fixes for CVE-2019-13012
ReleasePackageFixed in
8 libepubgen 0.1.0-3.el8
8 gamin 0.1.10-32.el8
8 dleyna-core +1 0.6.0-3.el8
8 accountsservice +1 0.6.55-1.el8
8 woff2 1.0.2-5.el8
8 cairomm 1.12.0-8.el8

30 more rows

root.io debian 3 releases · 1 package

fixed 3
rootio-glib2-0
root.io debian fixes for CVE-2019-13012
ReleasePackageFixed in
11 rootio-glib2-0 2.60.5-1
12 rootio-glib2-0 2.60.5-1
13 rootio-glib2-0 2.60.5-1

seal Red Hat 3 releases · 1 package

fixed 3
glib2
seal Red Hat fixes for CVE-2019-13012
ReleasePackageFixed in
7 glib2 +1 2.56.1-7.el7+sp999
8 glib2 +1 2.56.4-165.el8_10+sp999
9 glib2 +1 2.68.4-14.el9_4.1+sp999

ubuntu 2 releases · 1 package

fixed 2
glib2-0
ubuntu fixes for CVE-2019-13012
ReleasePackageFixed in
18.04 glib2-0 2.56.4-0ubuntu0.18.04.4
18.04-ESM glib2-0 2.56.4-0ubuntu0.18.04.4

References

Show all 79 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.