Integer Overflow or Wraparound Affecting glib2-devel package, versions <0:2.56.4-8.el8_1


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating

    Threat Intelligence

    EPSS
    0.42% (75th 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 ID SNYK-RHEL8-GLIB2DEVEL-3944568
  • published 26 Jul 2021
  • disclosed 4 Feb 2021

How to fix?

Upgrade RHEL:8 glib2-devel to version 0:2.56.4-8.el8_1 or higher.
This issue was patched in RHSA-2021:2172.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glib2-devel package and not the glib2-devel 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.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
Expand this section

NVD

7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

Red Hat

9.8 critical
Expand this section

SUSE

6.1 medium