Incorrect Conversion between Numeric Types Affecting glib2 package, versions <0:2.36.3-5.22.amzn1


high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.42% (74th percentile)
Expand this section
NVD
7.5 high
Expand this section
SUSE
6.1 medium
Expand this section
Red Hat
9.8 critical

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-1725992
  • published 27 Sep 2021
  • disclosed 15 Feb 2021

How to fix?

Upgrade Amazon-Linux:2018.03 glib2 to version 0:2.36.3-5.22.amzn1 or higher.
This issue was patched in ALAS-2021-1526.

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.

An issue was discovered in GNOME GLib before 2.66.6 and 2.67.x before 2.67.3. The function g_bytes_new has an integer overflow on 64-bit platforms due to an implicit cast from 64 bits to 32 bits. The overflow could potentially lead to memory corruption.