Related Vulnerabilities: CVE-2017-1000366  

A flaw was found in the way memory was being allocated on the stack for user space binaries. If heap (or different memory region) and stack memory regions were adjacent to each other, an attacker could use this flaw to jump over the stack guard gap, cause controlled memory corruption on process stack or the adjacent memory region, and thus increase their privileges on the system. This is glibc-side mitigation which blocks processing of LD_LIBRARY_PATH for programs running in secure-execution mode and reduces the number of allocations performed by the processing of LD_AUDIT, LD_PRELOAD, and LD_HWCAP_MASK, making successful exploitation of this issue more difficult.

Severity High

Remote No

Type Privilege escalation

Description

A flaw was found in the way memory was being allocated on the stack for user space binaries. If heap (or different memory region) and stack memory regions were adjacent to each other, an attacker could use this flaw to jump over the stack guard gap, cause controlled memory corruption on process stack or the adjacent memory region, and thus increase their privileges on the system. This is glibc-side mitigation which blocks processing of LD_LIBRARY_PATH for programs running in secure-execution mode and reduces the number of allocations performed by the processing of LD_AUDIT, LD_PRELOAD, and LD_HWCAP_MASK, making successful exploitation of this issue more difficult.

AVG-308 lib32-glibc 2.25-3 2.25-4 High Fixed

AVG-307 glibc 2.25-3 2.25-4 High Fixed

20 Jun 2017 ASA-201706-23 AVG-307 glibc High privilege escalation

20 Jun 2017 ASA-201706-22 AVG-308 lib32-glibc High privilege escalation

https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt