Race Condition Affecting glib2 package, versions <0:2.36.3-5.21.amzn1


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Confidentiality High
    Integrity High

    Threat Intelligence

    EPSS 1.37% (87th percentile)
Expand this section
NVD
9.8 critical
Expand this section
SUSE
8.1 high
Expand this section
Red Hat
6.6 medium

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-AMZN201803-GLIB2-1718331
  • published 27 Sep 2021
  • disclosed 29 May 2019

How to fix?

Upgrade Amazon-Linux:2018.03 glib2 to version 0:2.36.3-5.21.amzn1 or higher.
This issue was patched in ALAS-2019-1256.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glib2 package and not the glib2 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

file_copy_fallback in gio/gfile.c in GNOME GLib 2.15.0 through 2.61.1 does not properly restrict file permissions while a copy operation is in progress. Instead, default permissions are used.