CVE-2017-16997
Fixed in a distro release EPSS 3%
elf/dl-load.c in the GNU C Library (aka glibc or libc6) 2.19 through 2.26 mishandles RPATH and RUNPATH containing $ORIGIN for a privileged (setuid or AT_SECURE) program, which allows local users to gain privileges via a Trojan horse library in the current working directory, related to the fillin_rpath and decompose_rpath functions. This is associated with misinterpretion of an empty RPATH/RUNPATH token as the "./" directory. NOTE: this configuration of RPATH/RUNPATH for a privileged program is apparently very uncommon; most likely, no such program is shipped with any common Linux distribution.
Products: gnu glibc, redhat enterprise_linux_desktop, redhat enterprise_linux_server, redhat enterprise_linux_workstation
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | glibc | 2.25-6 |
| Debian 13 | glibc | 2.25-6 |
| Debian 14 | glibc | 2.25-6 |
| Red Hat Enterprise Linux 7 | glibc | 0:2.17-260.el7 |
| Red Hat Enterprise Linux 7 | glibc-common | 0:2.17-260.el7 |
| Red Hat Enterprise Linux 7 | glibc-debuginfo | 0:2.17-260.el7 |
| Red Hat Enterprise Linux 7 | glibc-debuginfo-common | 0:2.17-260.el7 |
| Red Hat Enterprise Linux 7 | glibc-devel | 0:2.17-260.el7 |
| Red Hat Enterprise Linux 7 | glibc-headers | 0:2.17-260.el7 |
| Red Hat Enterprise Linux 7 | glibc-static | 0:2.17-260.el7 |
| Red Hat Enterprise Linux 7 | glibc-utils | 0:2.17-260.el7 |
| Red Hat Enterprise Linux 7 | nscd | 0:2.17-260.el7 |
| SUSE Linux Enterprise Desktop 12 SP2 | glibc | 2.22-62.3.4 |
| SUSE Linux Enterprise Desktop 12 SP3 | glibc | 2.22-62.3.4 |
| SUSE Linux Enterprise Server 12 SP2 | glibc | 2.22-62.3.4 |
| SUSE Linux Enterprise Server 12 SP3 | glibc | 2.22-62.3.4 |
| SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 | glibc | 2.22-62.3.4 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP2 | glibc | 2.22-62.3.4 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | glibc | 2.22-62.3.4 |
| SUSE Linux Enterprise Software Development Kit 12 SP2 | glibc | 2.22-62.3.4 |
| SUSE Linux Enterprise Software Development Kit 12 SP3 | glibc | 2.22-62.3.4 |
| Ubuntu 14.04 LTS | eglibc | 2.19-0ubuntu6.14 |
| Ubuntu 16.04 LTS | glibc | 2.23-0ubuntu10 |
| openSUSE Tumbleweed | glibc | 2.34-1.2 |