CVE-2019-13012
glib2: insecure permissions for files and directories
Overview
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
| Ecosystem | Package | Vulnerable | Fixed 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
| Release | Package | Fixed 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed 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
| Release | Package | Fixed 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
| Release | Package | Fixed in |
|---|---|---|
| glib2-0 | 2.60.5-1 |
rocky 1 release · 35 packages
| Release | Package | Fixed 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
| Release | Package | Fixed 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
| Release | Package | Fixed 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
| Release | Package | Fixed 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
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00022.html
- access.redhat.com https://access.redhat.com/security/cve/CVE-2019-13012
- bugs.debian.org https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931234#12
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1152037
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1464902
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1671761
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1700002
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1705392
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1728632
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1728896
Show all 79 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1765627
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1786496
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1796916
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1802105
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1833787
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1842229
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1845660
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1846376
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1854290
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1860946
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1861357
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1861769
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1865718
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1870837
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1871041
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1876291
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1881312
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1883304
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1883868
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1886822
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1888407
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1889411
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1889528
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1901212
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1901214
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1901216
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1901221
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1903043
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1903568
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1906499
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1918391
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1919429
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1919432
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1919435
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1919467
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1921151
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=837035
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-13012
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13543
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13584
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-16125
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-9948
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-9951
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-9983
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-1817
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-1820
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-1825
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-1826
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30661
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2021-1586.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2021:1586
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/glib/commit/5e4da714f00f6bfb2ccd6d73d61329c6f3a08429
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/glib/issues/1658
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/glib/merge_requests/450
- linux.oracle.com https://linux.oracle.com/cve/CVE-2019-13012.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2021-1586.html
- lists.apache.org https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- lists.debian.org https://lists.debian.org/debian-lts-announce/2019/07/msg00029.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2019/08/msg00004.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2019-13012
- security.netapp.com https://security.netapp.com/advisory/ntap-20190806-0003/
- ubuntu.com https://ubuntu.com/security/notices/USN-4049-1
- ubuntu.com https://ubuntu.com/security/notices/USN-4049-2
- ubuntu.com https://ubuntu.com/security/notices/USN-4049-3
- ubuntu.com https://ubuntu.com/security/notices/USN-4049-4
- usn.ubuntu.com https://usn.ubuntu.com/4049-1/
- usn.ubuntu.com https://usn.ubuntu.com/4049-2/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2019-13012
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.