Out-of-bounds Write Affecting glibc-common package, versions <0:2.17-222.173.amzn1


0.0
high

Snyk CVSS

    Attack Complexity High
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    Exploit Maturity Mature
    EPSS 0.53% (77th percentile)
Expand this section
NVD
7.8 high
Expand this section
Red Hat
7 high

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-AMZN201803-GLIBCCOMMON-1712867
  • published 27 Sep 2021
  • disclosed 31 Jan 2018

How to fix?

Upgrade Amazon-Linux:2018.03 glibc-common to version 0:2.17-222.173.amzn1 or higher.
This issue was patched in ALAS-2018-1017.

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:2018.03 relevant fixed versions and status.

In glibc 2.26 and earlier there is confusion in the usage of getcwd() by realpath() which can be used to write before the destination buffer leading to a buffer underflow and potential code execution.