Integer Overflow or Wraparound Affecting glib2 package, versions <0:2.56.4-10.el8_4.1


medium

Snyk CVSS

    Attack Complexity Low
    Availability High
Expand this section
NVD
7.5 high
Expand this section
SUSE
5 medium
Expand this section
Red Hat
7.5 high

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-CENTOS8-GLIB2-2117013
  • published 26 Jul 2021
  • disclosed 10 Feb 2021

How to fix?

Upgrade Centos:8 glib2 to version 0:2.56.4-10.el8_4.1 or higher.

NVD Description

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

An issue was discovered in GNOME GLib before 2.66.7 and 2.67.x before 2.67.4. If g_byte_array_new_take() was called with a buffer of 4GB or more on a 64-bit platform, the length would be truncated modulo 2**32, causing unintended length truncation.