Out-of-bounds Write Affecting glibc-langpack-the package, versions <0:2.26-28.amzn2.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.21% (85th 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-GLIBCLANGPACKTHE-1664731
  • published27 Sept 2021
  • disclosed18 May 2018

Introduced: 18 May 2018

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

How to fix?

Upgrade Amazon-Linux:2 glibc-langpack-the to version 0:2.26-28.amzn2.0.1 or higher.
This issue was patched in ALAS2-2018-1048.

NVD Description

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

stdlib/canonicalize.c in the GNU C Library (aka glibc or libc6) 2.27 and earlier, when processing very long pathname arguments to the realpath function, could encounter an integer overflow on 32-bit architectures, leading to a stack-based buffer overflow and, potentially, arbitrary code execution.