Incorrect Permission Assignment for Critical Resource Affecting libgobject-2_0-0-32bit package, versions <2.54.3-4.18.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.81% (82nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES150-LIBGOBJECT20032BIT-2745338
  • published14 Apr 2022
  • disclosed12 Jul 2019

Introduced: 12 Jul 2019

CVE-2019-13012  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade SLES:15.0 libgobject-2_0-0-32bit to version 2.54.3-4.18.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libgobject-2_0-0-32bit package and not the libgobject-2_0-0-32bit package as distributed by SLES. See How to fix? for SLES:15.0 relevant fixed versions and status.

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.