Race Condition Affecting glib2-fam package, versions <0:2.56.1-4.amzn2


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-AMZN2-GLIB2FAM-1674049
  • 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:2 glib2-fam to version 0:2.56.1-4.amzn2 or higher.
This issue was patched in ALAS2-2019-1289.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glib2-fam package and not the glib2-fam package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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