Incorrect Conversion between Numeric Types Affecting glib2-fam package, versions <0:2.56.1-9.amzn2.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.3% (70th 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 IDSNYK-AMZN2-GLIB2FAM-1699672
  • published27 Sept 2021
  • disclosed15 Feb 2021

Introduced: 15 Feb 2021

CVE-2021-27219  (opens in a new tab)
CWE-681  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 glib2-fam to version 0:2.56.1-9.amzn2.0.1 or higher.
This issue was patched in ALAS2-2021-1655.

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.

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.

CVSS Scores

version 3.1