Integer Overflow or Wraparound Affecting glibc-langpack-ayc package, versions <0:2.26-27.amzn2.0.4


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.58% (69th 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-GLIBCLANGPACKAYC-1661523
  • published27 Sept 2021
  • disclosed1 Feb 2018

Introduced: 1 Feb 2018

CVE-2018-6485  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 glibc-langpack-ayc to version 0:2.26-27.amzn2.0.4 or higher.
This issue was patched in ALAS2-2018-992.

NVD Description

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

An integer overflow in the implementation of the posix_memalign in memalign functions in the GNU C Library (aka glibc or libc6) 2.26 and earlier could cause these functions to return a pointer to a heap area that is too small, potentially leading to heap corruption.