Incorrect Conversion between Numeric Types Affecting glib2-lang package, versions <2.62.6-3.6.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.73% (81st 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-SLES152-GLIB2LANG-2684820
  • published14 Apr 2022
  • disclosed12 Mar 2021

Introduced: 12 Mar 2021

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

How to fix?

Upgrade SLES:15.2 glib2-lang to version 2.62.6-3.6.1 or higher.

NVD Description

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

version 3.1