ALAS-2015-513

Related Vulnerabilities: CVE-2013-7423   CVE-2015-1781  

A buffer overflow flaw was found in the way glibc's gethostbyname_r() and other related functions computed the size of a buffer when passed a misaligned buffer as input. An attacker able to make an application call any of these functions with a misaligned buffer could use this flaw to crash the application or, potentially, execute arbitrary code with the permissions of the user running the application. (CVE-2015-1781) It was discovered that, under certain circumstances, glibc's getaddrinfo() function would send DNS queries to random file descriptors. An attacker could potentially use this flaw to send DNS queries to unintended recipients, resulting in information disclosure or data loss due to the application encountering corrupted data. (CVE-2013-7423)

ALAS-2015-513


Amazon Linux AMI Security Advisory: ALAS-2015-513
Advisory Release Date: 2015-04-22 16:12 Pacific
Advisory Updated Date: 2015-04-23 21:02 Pacific
Severity: Medium

Issue Overview:

A buffer overflow flaw was found in the way glibc's gethostbyname_r() and other related functions computed the size of a buffer when passed a misaligned buffer as input. An attacker able to make an application call any of these functions with a misaligned buffer could use this flaw to crash the application or, potentially, execute arbitrary code with the permissions of the user running the application. (CVE-2015-1781)

It was discovered that, under certain circumstances, glibc's getaddrinfo() function would send DNS queries to random file descriptors. An attacker could potentially use this flaw to send DNS queries to unintended recipients, resulting in information disclosure or data loss due to the application encountering corrupted data. (CVE-2013-7423)


Affected Packages:

glibc


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

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

src:
    glibc-2.17-55.142.amzn1.src

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