Rapid7 Vulnerability & Exploit Database

Huawei EulerOS: CVE-2019-13012: glib2 security update

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Huawei EulerOS: CVE-2019-13012: glib2 security update

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:P/A:N)
Published
06/28/2019
Created
10/01/2019
Added
09/30/2019
Modified
09/30/2019

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.

Solution(s)

  • huawei-euleros-2_0_sp8-upgrade-glib2
  • huawei-euleros-2_0_sp8-upgrade-glib2-devel
  • huawei-euleros-2_0_sp8-upgrade-glib2-fam
  • huawei-euleros-2_0_sp8-upgrade-glib2-tests

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;