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


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.19% (86th 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 Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN201803-GLIB2-1718331
  • published27 Sept 2021
  • disclosed29 May 2019

Introduced: 29 May 2019

CVE-2019-12450  (opens in a new tab)
CWE-362  (opens in a new tab)
CWE-276  (opens in a new tab)

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.

CVSS Scores

version 3.1