CVE-2017-1000366 Memory corruption in n/a
Attackers can execute arbitrary code by crafting LD_LIBRARY_PATH values to alias heap and stack memory in glibc.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-1000366?
CVE-2017-1000366 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 19 Jun 2017. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
glibc contains a vulnerability that allows specially crafted LD_LIBRARY_PATH values to manipulate the heap/stack, causing them to alias, potentially resulting in arbitrary code execution. Please note that additional hardening changes have been made to glibc to prevent manipulation of stack and heap memory but these issues are not directly exploitable, as such they have not been given a CVE. This affects glibc 2.25 and earlier.
Weakness: CWE-119
Which versions are affected by CVE-2017-1000366?
It affects 20 products.
Linux distribution packages (40)
glibc Red Hat:enterprise_linux:6::client | All versions | 0:2.12-1.209.el6_9.2 |
glibc-common Red Hat:enterprise_linux:6::client | All versions | 0:2.12-1.209.el6_9.2 |
glibc-debuginfo Red Hat:enterprise_linux:6::client | All versions | 0:2.12-1.209.el6_9.2 |
glibc-debuginfo-common Red Hat:enterprise_linux:6::client | All versions | 0:2.12-1.209.el6_9.2 |
glibc-devel Red Hat:enterprise_linux:6::client | All versions | 0:2.12-1.209.el6_9.2 |
glibc-headers Red Hat:enterprise_linux:6::client | All versions | 0:2.12-1.209.el6_9.2 |
glibc-static Red Hat:enterprise_linux:6::client | All versions | 0:2.12-1.209.el6_9.2 |
glibc-utils Red Hat:enterprise_linux:6::client | All versions | 0:2.12-1.209.el6_9.2 |
nscd Red Hat:enterprise_linux:6::client | All versions | 0:2.12-1.209.el6_9.2 |
glibc Red Hat:enterprise_linux:6::computenode | All versions | 0:2.12-1.209.el6_9.2 |
glibc-common Red Hat:enterprise_linux:6::computenode | All versions | 0:2.12-1.209.el6_9.2 |
glibc-debuginfo Red Hat:enterprise_linux:6::computenode | All versions | 0:2.12-1.209.el6_9.2 |
glibc-debuginfo-common Red Hat:enterprise_linux:6::computenode | All versions | 0:2.12-1.209.el6_9.2 |
glibc-devel Red Hat:enterprise_linux:6::computenode | All versions | 0:2.12-1.209.el6_9.2 |
glibc-headers Red Hat:enterprise_linux:6::computenode | All versions | 0:2.12-1.209.el6_9.2 |
glibc-static Red Hat:enterprise_linux:6::computenode | All versions | 0:2.12-1.209.el6_9.2 |
glibc-utils Red Hat:enterprise_linux:6::computenode | All versions | 0:2.12-1.209.el6_9.2 |
nscd Red Hat:enterprise_linux:6::computenode | All versions | 0:2.12-1.209.el6_9.2 |
glibc Red Hat:enterprise_linux:6::server | All versions | 0:2.12-1.209.el6_9.2 |
glibc-common Red Hat:enterprise_linux:6::server | All versions | 0:2.12-1.209.el6_9.2 |
glibc-debuginfo Red Hat:enterprise_linux:6::server | All versions | 0:2.12-1.209.el6_9.2 |
glibc-debuginfo-common Red Hat:enterprise_linux:6::server | All versions | 0:2.12-1.209.el6_9.2 |
glibc-devel Red Hat:enterprise_linux:6::server | All versions | 0:2.12-1.209.el6_9.2 |
glibc-headers Red Hat:enterprise_linux:6::server | All versions | 0:2.12-1.209.el6_9.2 |
glibc-static Red Hat:enterprise_linux:6::server | All versions | 0:2.12-1.209.el6_9.2 |
glibc-utils Red Hat:enterprise_linux:6::server | All versions | 0:2.12-1.209.el6_9.2 |
nscd Red Hat:enterprise_linux:6::server | All versions | 0:2.12-1.209.el6_9.2 |
glibc Red Hat:enterprise_linux:6::workstation | All versions | 0:2.12-1.209.el6_9.2 |
glibc-common Red Hat:enterprise_linux:6::workstation | All versions | 0:2.12-1.209.el6_9.2 |
glibc-debuginfo Red Hat:enterprise_linux:6::workstation | All versions | 0:2.12-1.209.el6_9.2 |
glibc-debuginfo-common Red Hat:enterprise_linux:6::workstation | All versions | 0:2.12-1.209.el6_9.2 |
glibc-devel Red Hat:enterprise_linux:6::workstation | All versions | 0:2.12-1.209.el6_9.2 |
glibc-headers Red Hat:enterprise_linux:6::workstation | All versions | 0:2.12-1.209.el6_9.2 |
glibc-static Red Hat:enterprise_linux:6::workstation | All versions | 0:2.12-1.209.el6_9.2 |
glibc-utils Red Hat:enterprise_linux:6::workstation | All versions | 0:2.12-1.209.el6_9.2 |
nscd Red Hat:enterprise_linux:6::workstation | All versions | 0:2.12-1.209.el6_9.2 |
glibc Red Hat:enterprise_linux:7::client | All versions | 0:2.17-157.el7_3.4 |
glibc-common Red Hat:enterprise_linux:7::client | All versions | 0:2.17-157.el7_3.4 |
glibc-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:2.17-157.el7_3.4 |
glibc-debuginfo-common Red Hat:enterprise_linux:7::client | All versions | 0:2.17-157.el7_3.4 |
Products include Debian Debian Linux, Gnu Glibc, Mcafee Web Gateway, Novell Suse Linux Enterprise Desktop, Novell Suse Linux Enterprise Point of Sale, Novell Suse Linux Enterprise Server and 14 more.
How do I fix CVE-2017-1000366?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2017-1000366 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-1000366 exists.
Public exploit code: 3 Exploit-DB entries.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2017-1000366, DLA-992-1, DSA-3887-1, GHSA-45fw-2mcw-h3gw, RHSA-2017:1479, RHSA-2017:1480 and 7 more.