Incorrect Permission Assignment for Critical Resource Affecting webkit2gtk3-jsc-devel package, versions <0:2.30.4-1.el8


Severity

Recommended
medium

Based on Oracle Linux security rating

    Threat Intelligence

    EPSS
    0.57% (79th 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 ID SNYK-ORACLE8-WEBKIT2GTK3JSCDEVEL-2581888
  • published 10 Apr 2022
  • disclosed 28 Jun 2019

How to fix?

Upgrade Oracle:8 webkit2gtk3-jsc-devel to version 0:2.30.4-1.el8 or higher.
This issue was patched in ELSA-2021-1586.

NVD Description

Note: Versions mentioned in the description apply only to the upstream webkit2gtk3-jsc-devel package and not the webkit2gtk3-jsc-devel package as distributed by Oracle. See How to fix? for Oracle:8 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.