Integer Overflow or Wraparound Affecting mingw64-glib2-static package, versions <0:2.66.7-2.el8


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
5.21% (90th 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 Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-MINGW64GLIB2STATIC-4171498
  • published26 Jul 2021
  • disclosed10 Feb 2021

Introduced: 10 Feb 2021

CVE-2021-27218  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade RHEL:8 mingw64-glib2-static to version 0:2.66.7-2.el8 or higher.
This issue was patched in RHSA-2021:4526.

NVD Description

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

References

CVSS Base Scores

version 3.1