ubuntu-cve-2019-13012
Vulnerability from osv_ubuntu
Published
2019-06-28 00:00
Modified
2026-04-22 07:39
Summary
Details
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.
Severity
7.5 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libglib2.0-0",
"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-bin",
"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-tests",
"binary_version": "2.40.2-0ubuntu1.1+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "glib2.0",
"purl": "pkg:deb/ubuntu/glib2.0@2.40.2-0ubuntu1.1+esm3?arch=source\u0026distro=trusty/esm"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.40.2-0ubuntu1.1+esm3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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",
"2.40.2-0ubuntu1.1+esm1",
"2.40.2-0ubuntu1.1+esm2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libglib2.0-0",
"binary_version": "2.48.2-0ubuntu4.4"
},
{
"binary_name": "libglib2.0-0-refdbg",
"binary_version": "2.48.2-0ubuntu4.4"
},
{
"binary_name": "libglib2.0-bin",
"binary_version": "2.48.2-0ubuntu4.4"
},
{
"binary_name": "libglib2.0-data",
"binary_version": "2.48.2-0ubuntu4.4"
},
{
"binary_name": "libglib2.0-tests",
"binary_version": "2.48.2-0ubuntu4.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "glib2.0",
"purl": "pkg:deb/ubuntu/glib2.0@2.48.2-0ubuntu4.4?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.48.2-0ubuntu4.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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",
"binaries": [
{
"binary_name": "libglib2.0-0",
"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-data",
"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-tests",
"binary_version": "2.56.4-0ubuntu0.18.04.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "glib2.0",
"purl": "pkg:deb/ubuntu/glib2.0@2.56.4-0ubuntu0.18.04.4?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.56.4-0ubuntu0.18.04.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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"
]
}
],
"aliases": [],
"details": "The keyfile settings backend in GNOME GLib (aka glib2.0) before 2.60.0 creates directories using g_file_make_directory_with_parents (kfsb-\u003edir, NULL, NULL) and files using g_file_replace_contents (kfsb-\u003efile, 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.",
"id": "UBUNTU-CVE-2019-13012",
"modified": "2026-04-22T07:39:00Z",
"published": "2019-06-28T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2019-13012"
},
{
"type": "REPORT",
"url": "https://gitlab.gnome.org/GNOME/glib/merge_requests/450"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-4049-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-4049-2"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-4049-3"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-4049-4"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2019-13012"
}
],
"related": [
"USN-4049-1",
"USN-4049-2",
"USN-4049-3",
"USN-4049-4"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2019-13012"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…