Integer Overflow or Wraparound Affecting glibc-common package, versions <0:2.26-53.amzn2


medium

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Availability High

    Threat Intelligence

    EPSS 1.14% (85th percentile)
Expand this section
NVD
9.1 critical
Expand this section
SUSE
5.1 medium
Expand this section
Red Hat
9.1 critical

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-AMZN2-GLIBCCOMMON-1702924
  • published 27 Sep 2021
  • disclosed 22 Jul 2021

How to fix?

Upgrade Amazon-Linux:2 glibc-common to version 0:2.26-53.amzn2 or higher.
This issue was patched in ALAS2-2021-1703.

NVD Description

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

The wordexp function in the GNU C Library (aka glibc) through 2.33 may crash or read arbitrary memory in parse_param (in posix/wordexp.c) when called with an untrusted, crafted pattern, potentially resulting in a denial of service or disclosure of information. This occurs because atoi was used but strtoul should have been used to ensure correct calculations.