CVE-2019-12450
glib2: file_copy_fallback in gio/gfile.c in GNOME GLib does not properly restrict file permissions while a copy operation is in progress
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, CBL-Mariner, Julia, Photon OS. Rated lower by Red Hat (medium), Amazon (medium), Oracle (medium), Ubuntu (medium).
Description
file_copy_fallback in gio/gfile.c in GNOME GLib 2.15.0 through 2.61.1 does not properly restrict file permissions while a copy operation is in progress. Instead, default permissions are used.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| CBL-Mariner 1.0 | glib | 0:2.58.0-6.cm1 |
| CBL-Mariner 2.0 | glib | 0:2.60.1-5.cm2 |
| julia::Julia Ecosystem Security Advisories | Glib_jll | 2.68.1+0 |
| Photon OS 1.0 | glib | 2.47.6-4.ph1 |
| Photon OS 2.0 | glib | 2.52.1-4.ph2 |
| Photon OS 3.0 | glib | 2.58.0-3.ph3 |
| alpine 3.10 | glib | 2.60.4-r0 |
| alpine 3.11 | glib | 2.60.4-r0 |
| alpine 3.12 | glib | 2.60.4-r0 |
| alpine 3.13 | glib | 2.60.4-r0 |
| alpine 3.14 | glib | 2.60.4-r0 |
| alpine 3.15 | glib | 2.60.4-r0 |
Show all 88 entries from 51 sources
| Source | Package | Fixed in |
|---|---|---|
| CBL-Mariner 1.0 | glib | 0:2.58.0-6.cm1 |
| CBL-Mariner 2.0 | glib | 0:2.60.1-5.cm2 |
| julia::Julia Ecosystem Security Advisories | Glib_jll | 2.68.1+0 |
| Photon OS 1.0 | glib | 2.47.6-4.ph1 |
| Photon OS 2.0 | glib | 2.52.1-4.ph2 |
| Photon OS 3.0 | glib | 2.58.0-3.ph3 |
| alpine 3.10 | glib | 2.60.4-r0 |
| alpine 3.11 | glib | 2.60.4-r0 |
| alpine 3.12 | glib | 2.60.4-r0 |
| alpine 3.13 | glib | 2.60.4-r0 |
| alpine 3.14 | glib | 2.60.4-r0 |
| alpine 3.15 | glib | 2.60.4-r0 |
| alpine 3.16 | glib | 2.60.4-r0 |
| alpine 3.17 | glib | 2.60.4-r0 |
| alpine 3.18 | glib | 2.60.4-r0 |
| alpine 3.19 | glib | 2.60.4-r0 |
| alpine 3.20 | glib | 2.60.4-r0 |
| alpine 3.21 | glib | 2.60.4-r0 |
| alpine 3.22 | glib | 2.60.4-r0 |
| alpine 3.23 | glib | 2.60.4-r0 |
| alpine 3.24 | glib | 2.60.4-r0 |
| alpine 3.7 | glib | 2.54.2-r1 |
| alpine 3.8 | glib | 2.56.1-r1 |
| alpine 3.9 | glib | 2.58.1-r3 |
| alpine edge | glib | 2.60.4-r0 |
| amazon linux 1 | glib2 | 2.36.3-5.21.amzn1 |
| amazon linux 1 | glib2-debuginfo | 2.36.3-5.21.amzn1 |
| amazon linux 1 | glib2-devel | 2.36.3-5.21.amzn1 |
| amazon linux 1 | glib2-doc | 2.36.3-5.21.amzn1 |
| amazon linux 1 | glib2-fam | 2.36.3-5.21.amzn1 |
| amazon linux 2 | glib2 | 2.56.1-7.amzn2.0.1 |
| amazon linux 2 | glib2-debuginfo | 2.56.1-7.amzn2.0.1 |
| amazon linux 2 | glib2-devel | 2.56.1-7.amzn2.0.1 |
| amazon linux 2 | glib2-doc | 2.56.1-7.amzn2.0.1 |
| amazon linux 2 | glib2-fam | 2.56.1-7.amzn2.0.1 |
| amazon linux 2 | glib2-static | 2.56.1-7.amzn2.0.1 |
| amazon linux 2 | glib2-tests | 2.56.1-7.amzn2.0.1 |
| debian 11 | glib2.0 | 2.58.3-2 |
| debian 12 | glib2.0 | 2.58.3-2 |
| debian 13 | glib2.0 | 2.58.3-2 |
| debian 14 | glib2.0 | 2.58.3-2 |
| debian 8 | glib2.0 | 2.42.1-1+deb8u1 |
| debian 9 | glib2.0 | 2.50.3-2+deb9u1 |
| echo | glib2.0 | 2.58.3-2 |
| Oracle Linux 7 | glib2 | 2.56.1-7.el7 |
| Oracle Linux 7 | glib2-devel | 2.56.1-7.el7 |
| Oracle Linux 7 | glib2-doc | 2.56.1-7.el7 |
| Oracle Linux 7 | glib2-fam | 2.56.1-7.el7 |
| Oracle Linux 7 | glib2-static | 2.56.1-7.el7 |
| Oracle Linux 7 | glib2-tests | 2.56.1-7.el7 |
| Oracle Linux 7 | ibus | 1.5.17-11.el7 |
| Oracle Linux 7 | ibus-devel | 1.5.17-11.el7 |
| Oracle Linux 7 | ibus-devel-docs | 1.5.17-11.el7 |
| Oracle Linux 7 | ibus-gtk2 | 1.5.17-11.el7 |
| Oracle Linux 7 | ibus-gtk3 | 1.5.17-11.el7 |
| Oracle Linux 7 | ibus-libs | 1.5.17-11.el7 |
| Oracle Linux 7 | ibus-pygtk2 | 1.5.17-11.el7 |
| Oracle Linux 7 | ibus-setup | 1.5.17-11.el7 |
| Oracle Linux 8 | glib2 | 2.56.4-7.el8 |
| Oracle Linux 8 | glib2-devel | 2.56.4-7.el8 |
| Oracle Linux 8 | glib2-doc | 2.56.4-7.el8 |
| Oracle Linux 8 | glib2-fam | 2.56.4-7.el8 |
| Oracle Linux 8 | glib2-static | 2.56.4-7.el8 |
| Oracle Linux 8 | glib2-tests | 2.56.4-7.el8 |
| Red Hat | chromium-browser | no fix listed |
| Red Hat | firefox | no fix listed |
| Red Hat | glib2 | no fix listed |
| Red Hat | glib2-devel | no fix listed |
| Red Hat | glib2-doc | no fix listed |
| Red Hat | glib2-static | no fix listed |
| Red Hat | thunderbird | no fix listed |
| root.io alpine 3.20 | rootio-glib | 2.60.4-r0 |
| root.io debian 11 | rootio-glib2.0 | 2.58.3-2 |
| root.io debian 12 | rootio-glib2.0 | 2.58.3-2 |
| root.io debian 13 | rootio-glib2.0 | 2.58.3-2 |
| seal Red Hat 7 | glib2 | 2.56.1-7.el7+sp999 |
| seal Red Hat 7 | seal-glib2 | 2.56.1-7.el7+sp999 |
| seal Red Hat 8 | glib2 | 2.56.4-165.el8_10+sp999 |
| seal Red Hat 8 | seal-glib2 | 2.56.4-165.el8_10+sp999 |
| seal Red Hat 9 | glib2 | 2.68.4-14.el9_4.1+sp999 |
| seal Red Hat 9 | seal-glib2 | 2.68.4-14.el9_4.1+sp999 |
| ubuntu 14.04-ESM | glib2.0 | 2.40.2-0ubuntu1.1+esm1 |
| ubuntu 16.04 | glib2.0 | 2.48.2-0ubuntu4.2 |
| ubuntu 16.04-ESM | glib2.0 | 2.48.2-0ubuntu4.2 |
| ubuntu 18.04 | glib2.0 | 2.56.4-0ubuntu0.18.04.3 |
| ubuntu 18.04-ESM | glib2.0 | 2.56.4-0ubuntu0.18.04.3 |
| ubuntu 18.10 | glib2.0 | 2.58.1-2ubuntu0.1 |
| ubuntu 19.04 | glib2.0 | 2.60.0-1ubuntu0.1 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00076.html
- https://access.redhat.com/errata/RHSA-2019:3530
- https://access.redhat.com/security/cve/CVE-2019-12450
- https://gitlab.gnome.org/GNOME/glib/commit/d8f8f4d637ce43f8699ba94c9b7648beda0ca174
- https://linux.oracle.com/cve/CVE-2019-12450.html
- https://linux.oracle.com/errata/ELSA-2020-3978.html
- https://lists.debian.org/debian-lts-announce/2019/06/msg00013.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2W4WIOAGO3M743M5KZLVQZM3NGHQDYLI/
All 15 references
- https://nvd.nist.gov/vuln/detail/CVE-2019-12450
- https://security.netapp.com/advisory/ntap-20190606-0003/
- https://ubuntu.com/security/notices/USN-4014-1
- https://ubuntu.com/security/notices/USN-4014-2
- https://usn.ubuntu.com/4014-1/
- https://usn.ubuntu.com/4014-2/
- https://www.cve.org/CVERecord?id=CVE-2019-12450