Denial of Service (DoS) Affecting glib package, versions [,2.66.6)[2.67.0,2.67.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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-UNMANAGED-GLIB-2382557
  • published26 Jan 2022
  • disclosed15 Feb 2021
  • creditUnknown

Introduced: 15 Feb 2021

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

How to fix?

Upgrade glib to version 2.66.6, 2.67.3 or higher.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS). 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.

References

CVSS Scores

version 3.1