Amazon Linux AMI update for glibc

Published: 2018-12-07 10:07:06 | Updated: 2018-12-07
Severity High
Patch available YES
Number of vulnerabilities 4
CVE ID CVE-2018-11236
CVE-2018-6485
CVE-2017-16997
CVE-2018-11237
CVSSv3 7.7 [CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]
8.5 [CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]
7.7 [CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]
7.7 [CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]
CWE ID CWE-119
CWE-190
CWE-427
CWE-120
Exploitation vector Network
Public exploit N/A
Vulnerable software Amazon Linux AMI
Vulnerable software versions Amazon Linux AMI 2017.03
Vendor URL Amazon Web Services, Inc.

Security Advisory

1) Memory corruption

Description

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The vulnerability exists in the stdlib/canonicalize.c source code in the GNU glibc library due to improper processing of long pathname arguments to the realpath function. A local unauthenticated attacker can send long pathname arguments to a targeted system that is using 32-bit architecture, trigger an integer overflow condition that can lead to stack-based buffer overflow condition and execute arbitrary code with elevated privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Remediation

Update the affected packages.

i686:
    glibc-2.17-260.175.amzn1.i686
    glibc-common-2.17-260.175.amzn1.i686
    glibc-headers-2.17-260.175.amzn1.i686
    glibc-debuginfo-2.17-260.175.amzn1.i686
    glibc-debuginfo-common-2.17-260.175.amzn1.i686
    glibc-utils-2.17-260.175.amzn1.i686
    glibc-static-2.17-260.175.amzn1.i686
    nscd-2.17-260.175.amzn1.i686
    glibc-devel-2.17-260.175.amzn1.i686

src:
    glibc-2.17-260.175.amzn1.src

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

External links

https://alas.aws.amazon.com/ALAS-2018-1109.html

2) Integer overflow

Description

The vulnerability allows a remote attacker to gain elevated privileges on the target system.

The weakness exists in the implementation of the posix_memalign in memalign functions due to integer overflow when causing these functions to return a pointer to a heap area that is too small. A remote attacker can trigger memory corruption and gain root privileges.

Remediation

Update the affected packages.

i686:
    glibc-2.17-260.175.amzn1.i686
    glibc-common-2.17-260.175.amzn1.i686
    glibc-headers-2.17-260.175.amzn1.i686
    glibc-debuginfo-2.17-260.175.amzn1.i686
    glibc-debuginfo-common-2.17-260.175.amzn1.i686
    glibc-utils-2.17-260.175.amzn1.i686
    glibc-static-2.17-260.175.amzn1.i686
    nscd-2.17-260.175.amzn1.i686
    glibc-devel-2.17-260.175.amzn1.i686

src:
    glibc-2.17-260.175.amzn1.src

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

External links

https://alas.aws.amazon.com/ALAS-2018-1109.html

3) Insecure DLL loading

Description

The vulnerability allows a local attacker to compromise vulnerable system.

The weakness exists in elf/dl-load.c due to insecure .dll loading mechanism when opening files. Alocal attacker can place a file along with specially crafted .dll file on a remote SBM or WebDAV share and execute arbitrary code on the target system with elevated privileges.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.

Remediation

Update the affected packages.

i686:
    glibc-2.17-260.175.amzn1.i686
    glibc-common-2.17-260.175.amzn1.i686
    glibc-headers-2.17-260.175.amzn1.i686
    glibc-debuginfo-2.17-260.175.amzn1.i686
    glibc-debuginfo-common-2.17-260.175.amzn1.i686
    glibc-utils-2.17-260.175.amzn1.i686
    glibc-static-2.17-260.175.amzn1.i686
    nscd-2.17-260.175.amzn1.i686
    glibc-devel-2.17-260.175.amzn1.i686

src:
    glibc-2.17-260.175.amzn1.src

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

External links

https://alas.aws.amazon.com/ALAS-2018-1109.html

4) Buffer overflow

Description

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The weakness exists due to an AVX-512-optimized implementation of the mempcpy function may write data beyond the target buffer. A local attacker can trigger buffer overflow in __mempcpy_avx512_no_vzeroupper and execute arbitrary code with elevated privileges.

Remediation

Update the affected packages.

i686:
    glibc-2.17-260.175.amzn1.i686
    glibc-common-2.17-260.175.amzn1.i686
    glibc-headers-2.17-260.175.amzn1.i686
    glibc-debuginfo-2.17-260.175.amzn1.i686
    glibc-debuginfo-common-2.17-260.175.amzn1.i686
    glibc-utils-2.17-260.175.amzn1.i686
    glibc-static-2.17-260.175.amzn1.i686
    nscd-2.17-260.175.amzn1.i686
    glibc-devel-2.17-260.175.amzn1.i686

src:
    glibc-2.17-260.175.amzn1.src

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

External links

https://alas.aws.amazon.com/ALAS-2018-1109.html

Back to List