ALAS-2017-877

Related Vulnerabilities: CVE-2014-9761   CVE-2015-8776   CVE-2015-8777   CVE-2015-8778   CVE-2015-8779  

Unbounded stack allocation in catopen functionA stack based buffer overflow vulnerability was found in the catopen() function. An excessively long string passed to the function could cause it to crash or, potentially, execute arbitrary code.(CVE-2015-8779) Integer overflow in hcreate and hcreate_rAn integer overflow vulnerability was found in hcreate() and hcreate_r() functions which could result in an out-of-bounds memory access. This could lead to application crash or, potentially, arbitrary code execution. (CVE-2015-8778) Unbounded stack allocation in nan* functionsA stack overflow vulnerability was found in nan* functions that could cause applications, which process long strings with the nan function, to crash or, potentially, execute arbitrary code. (CVE-2014-9761) LD_POINTER_GUARD in the environment is not sanitizedIt was found that the dynamic loader did not sanitize the LD_POINTER_GUARD environment variable. An attacker could use this flaw to bypass the pointer guarding protection on set-user-ID or set-group-ID programs to execute arbitrary code with the permissions of the user running the application.(CVE-2015-8777) Segmentation fault caused by passing out-of-range data to strftime()It was found that out-of-range time values passed to the strftime() function could result in an out-of-bounds memory access. This could lead to application crash or, potentially, information disclosure. (CVE-2015-8776)

ALAS-2017-877


Amazon Linux AMI Security Advisory: ALAS-2017-877
Advisory Release Date: 2017-08-31 15:52 Pacific
Advisory Updated Date: 2017-08-31 23:00 Pacific
Severity: Medium

Issue Overview:

Unbounded stack allocation in catopen function
A stack based buffer overflow vulnerability was found in the catopen() function. An excessively long string passed to the function could cause it to crash or, potentially, execute arbitrary code.(CVE-2015-8779)

Integer overflow in hcreate and hcreate_r
An integer overflow vulnerability was found in hcreate() and hcreate_r() functions which could result in an out-of-bounds memory access. This could lead to application crash or, potentially, arbitrary code execution. (CVE-2015-8778)

Unbounded stack allocation in nan* functions
A stack overflow vulnerability was found in nan* functions that could cause applications, which process long strings with the nan function, to crash or, potentially, execute arbitrary code. (CVE-2014-9761)

LD_POINTER_GUARD in the environment is not sanitized
It was found that the dynamic loader did not sanitize the LD_POINTER_GUARD environment variable. An attacker could use this flaw to bypass the pointer guarding protection on set-user-ID or set-group-ID programs to execute arbitrary code with the permissions of the user running the application.(CVE-2015-8777)

Segmentation fault caused by passing out-of-range data to strftime()
It was found that out-of-range time values passed to the strftime() function could result in an out-of-bounds memory access. This could lead to application crash or, potentially, information disclosure. (CVE-2015-8776)


Affected Packages:

glibc


Issue Correction:
Run yum update glibc to update your system.

New Packages:
i686:
    glibc-debuginfo-common-2.17-196.172.amzn1.i686
    glibc-devel-2.17-196.172.amzn1.i686
    glibc-utils-2.17-196.172.amzn1.i686
    glibc-headers-2.17-196.172.amzn1.i686
    glibc-2.17-196.172.amzn1.i686
    nscd-2.17-196.172.amzn1.i686
    glibc-static-2.17-196.172.amzn1.i686
    glibc-debuginfo-2.17-196.172.amzn1.i686
    glibc-common-2.17-196.172.amzn1.i686

src:
    glibc-2.17-196.172.amzn1.src

x86_64:
    glibc-devel-2.17-196.172.amzn1.x86_64
    nscd-2.17-196.172.amzn1.x86_64
    glibc-static-2.17-196.172.amzn1.x86_64
    glibc-common-2.17-196.172.amzn1.x86_64
    glibc-debuginfo-common-2.17-196.172.amzn1.x86_64
    glibc-utils-2.17-196.172.amzn1.x86_64
    glibc-debuginfo-2.17-196.172.amzn1.x86_64
    glibc-2.17-196.172.amzn1.x86_64
    glibc-headers-2.17-196.172.amzn1.x86_64