Out-of-Bounds Affecting glibc-static package, versions <0:2.26-28.amzn2.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.31% (70th 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-GLIBCSTATIC-1663037
  • published27 Sept 2021
  • disclosed20 Oct 2017

Introduced: 20 Oct 2017

CVE-2017-15670  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 glibc-static 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-static package and not the glibc-static package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

The GNU C Library (aka glibc or libc6) before 2.27 contains an off-by-one error leading to a heap-based buffer overflow in the glob function in glob.c, related to the processing of home directories using the ~ operator followed by a long string.