Integer Overflow or Wraparound Affecting glib2-fam package, versions <0:2.56.1-9.amzn2.0.8


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.08% (37th 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-AMZN2-GLIB2FAM-6663605
  • published19 Apr 2024
  • disclosed14 Dec 2020

Introduced: 14 Dec 2020

CVE-2020-35457  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 glib2-fam to version 0:2.56.1-9.amzn2.0.8 or higher.
This issue was patched in ALAS2-2024-2519.

NVD Description

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

GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in g_option_group_add_entries. NOTE: the vendor's position is "Realistically this is not a security issue. The standard pattern is for callers to provide a static list of option entries in a fixed number of calls to g_option_group_add_entries()." The researcher states that this pattern is undocumented

CVSS Scores

version 3.1