UBUNTU-CVE-2019-13012

Source
https://ubuntu.com/security/CVE-2019-13012
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-13012.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2019-13012
Related
Published
2019-06-28T00:00:00Z
Modified
2019-06-28T00:00:00Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

The keyfile settings backend in GNOME GLib (aka glib2.0) before 2.60.0 creates directories using gfilemakedirectorywithparents (kfsb->dir, NULL, NULL) and files using gfilereplacecontents (kfsb->file, contents, length, NULL, FALSE, GFILECREATEREPLACEDESTINATION, 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.

References

Affected packages

Ubuntu:Pro:14.04:LTS / glib2.0

Package

Name
glib2.0
Purl
pkg:deb/ubuntu/glib2.0?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.40.2-0ubuntu1.1+esm3

Affected versions

2.*

2.38.0-1ubuntu1
2.38.1-1
2.39.1-0ubuntu1
2.39.1-0ubuntu2
2.39.1-0ubuntu3
2.39.2-0ubuntu1
2.39.2-0ubuntu2
2.39.3-0ubuntu4
2.39.4-0ubuntu1
2.39.90-0ubuntu1
2.39.91-0ubuntu2
2.39.91-0ubuntu3
2.39.92-2
2.40.0-1
2.40.0-1ubuntu1
2.40.0-2
2.40.2-0ubuntu1
2.40.2-0ubuntu1.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.40.2-0ubuntu1.1+esm3",
            "binary_name": "libglib2.0-0"
        },
        {
            "binary_version": "2.40.2-0ubuntu1.1+esm3",
            "binary_name": "libglib2.0-0-dbg"
        },
        {
            "binary_version": "2.40.2-0ubuntu1.1+esm3",
            "binary_name": "libglib2.0-0-dbgsym"
        },
        {
            "binary_version": "2.40.2-0ubuntu1.1+esm3",
            "binary_name": "libglib2.0-0-refdbg"
        },
        {
            "binary_version": "2.40.2-0ubuntu1.1+esm3",
            "binary_name": "libglib2.0-0-refdbg-dbgsym"
        },
        {
            "binary_version": "2.40.2-0ubuntu1.1+esm3",
            "binary_name": "libglib2.0-bin"
        },
        {
            "binary_version": "2.40.2-0ubuntu1.1+esm3",
            "binary_name": "libglib2.0-bin-dbgsym"
        },
        {
            "binary_version": "2.40.2-0ubuntu1.1+esm3",
            "binary_name": "libglib2.0-data"
        },
        {
            "binary_version": "2.40.2-0ubuntu1.1+esm3",
            "binary_name": "libglib2.0-dev"
        },
        {
            "binary_version": "2.40.2-0ubuntu1.1+esm3",
            "binary_name": "libglib2.0-dev-dbgsym"
        },
        {
            "binary_version": "2.40.2-0ubuntu1.1+esm3",
            "binary_name": "libglib2.0-doc"
        },
        {
            "binary_version": "2.40.2-0ubuntu1.1+esm3",
            "binary_name": "libglib2.0-tests"
        },
        {
            "binary_version": "2.40.2-0ubuntu1.1+esm3",
            "binary_name": "libglib2.0-tests-dbgsym"
        },
        {
            "binary_version": "2.40.2-0ubuntu1.1+esm3",
            "binary_name": "libglib2.0-udeb"
        },
        {
            "binary_version": "2.40.2-0ubuntu1.1+esm3",
            "binary_name": "libglib2.0-udeb-dbgsym"
        }
    ]
}

Ubuntu:16.04:LTS / glib2.0

Package

Name
glib2.0
Purl
pkg:deb/ubuntu/glib2.0?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.48.2-0ubuntu4.4

Affected versions

2.*

2.46.1-1
2.46.1-2
2.47.1-1
2.47.3-3
2.47.4-1
2.47.5-1
2.47.6-1
2.48.0-1ubuntu3
2.48.0-1ubuntu4
2.48.1-1~ubuntu16.04.1
2.48.2-0ubuntu1
2.48.2-0ubuntu3
2.48.2-0ubuntu4
2.48.2-0ubuntu4.1
2.48.2-0ubuntu4.2
2.48.2-0ubuntu4.3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.48.2-0ubuntu4.4",
            "binary_name": "libglib2.0-0"
        },
        {
            "binary_version": "2.48.2-0ubuntu4.4",
            "binary_name": "libglib2.0-0-dbg"
        },
        {
            "binary_version": "2.48.2-0ubuntu4.4",
            "binary_name": "libglib2.0-0-dbgsym"
        },
        {
            "binary_version": "2.48.2-0ubuntu4.4",
            "binary_name": "libglib2.0-0-refdbg"
        },
        {
            "binary_version": "2.48.2-0ubuntu4.4",
            "binary_name": "libglib2.0-0-refdbg-dbgsym"
        },
        {
            "binary_version": "2.48.2-0ubuntu4.4",
            "binary_name": "libglib2.0-bin"
        },
        {
            "binary_version": "2.48.2-0ubuntu4.4",
            "binary_name": "libglib2.0-bin-dbgsym"
        },
        {
            "binary_version": "2.48.2-0ubuntu4.4",
            "binary_name": "libglib2.0-data"
        },
        {
            "binary_version": "2.48.2-0ubuntu4.4",
            "binary_name": "libglib2.0-dev"
        },
        {
            "binary_version": "2.48.2-0ubuntu4.4",
            "binary_name": "libglib2.0-dev-dbgsym"
        },
        {
            "binary_version": "2.48.2-0ubuntu4.4",
            "binary_name": "libglib2.0-doc"
        },
        {
            "binary_version": "2.48.2-0ubuntu4.4",
            "binary_name": "libglib2.0-tests"
        },
        {
            "binary_version": "2.48.2-0ubuntu4.4",
            "binary_name": "libglib2.0-tests-dbgsym"
        },
        {
            "binary_version": "2.48.2-0ubuntu4.4",
            "binary_name": "libglib2.0-udeb"
        },
        {
            "binary_version": "2.48.2-0ubuntu4.4",
            "binary_name": "libglib2.0-udeb-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / glib2.0

Package

Name
glib2.0
Purl
pkg:deb/ubuntu/glib2.0?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.56.4-0ubuntu0.18.04.4

Affected versions

2.*

2.54.1-1ubuntu1
2.55.2-2ubuntu1
2.56.0-2ubuntu1
2.56.0-4ubuntu1
2.56.1-2ubuntu1
2.56.2-0ubuntu0.18.04.1
2.56.2-0ubuntu0.18.04.2
2.56.3-0ubuntu0.18.04.1
2.56.4-0ubuntu0.18.04.2
2.56.4-0ubuntu0.18.04.3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.56.4-0ubuntu0.18.04.4",
            "binary_name": "libglib2.0-0"
        },
        {
            "binary_version": "2.56.4-0ubuntu0.18.04.4",
            "binary_name": "libglib2.0-0-dbgsym"
        },
        {
            "binary_version": "2.56.4-0ubuntu0.18.04.4",
            "binary_name": "libglib2.0-bin"
        },
        {
            "binary_version": "2.56.4-0ubuntu0.18.04.4",
            "binary_name": "libglib2.0-bin-dbgsym"
        },
        {
            "binary_version": "2.56.4-0ubuntu0.18.04.4",
            "binary_name": "libglib2.0-data"
        },
        {
            "binary_version": "2.56.4-0ubuntu0.18.04.4",
            "binary_name": "libglib2.0-dev"
        },
        {
            "binary_version": "2.56.4-0ubuntu0.18.04.4",
            "binary_name": "libglib2.0-dev-bin"
        },
        {
            "binary_version": "2.56.4-0ubuntu0.18.04.4",
            "binary_name": "libglib2.0-dev-bin-dbgsym"
        },
        {
            "binary_version": "2.56.4-0ubuntu0.18.04.4",
            "binary_name": "libglib2.0-doc"
        },
        {
            "binary_version": "2.56.4-0ubuntu0.18.04.4",
            "binary_name": "libglib2.0-tests"
        },
        {
            "binary_version": "2.56.4-0ubuntu0.18.04.4",
            "binary_name": "libglib2.0-tests-dbgsym"
        },
        {
            "binary_version": "2.56.4-0ubuntu0.18.04.4",
            "binary_name": "libglib2.0-udeb"
        }
    ]
}