CVE-2017-16997
Published: 17 December 2017
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.
Priority
CVSS 3 base score: 7.8
Status
Package | Release | Status |
---|---|---|
eglibc Launchpad, Ubuntu, Debian |
Upstream |
Needs triage
|
Ubuntu 20.10 (Groovy Gorilla) |
Does not exist
|
|
Ubuntu 20.04 LTS (Focal Fossa) |
Does not exist
|
|
Ubuntu 18.04 LTS (Bionic Beaver) |
Does not exist
|
|
Ubuntu 16.04 LTS (Xenial Xerus) |
Does not exist
|
|
Ubuntu 14.04 ESM (Trusty Tahr) |
Released
(2.19-0ubuntu6.14)
|
|
glibc Launchpad, Ubuntu, Debian |
Upstream |
Released
(2.27)
|
Ubuntu 20.10 (Groovy Gorilla) |
Not vulnerable
(2.27-3ubuntu1)
|
|
Ubuntu 20.04 LTS (Focal Fossa) |
Not vulnerable
(2.27-3ubuntu1)
|
|
Ubuntu 18.04 LTS (Bionic Beaver) |
Not vulnerable
(2.27-3ubuntu1)
|
|
Ubuntu 16.04 LTS (Xenial Xerus) |
Released
(2.23-0ubuntu10)
|
|
Ubuntu 14.04 ESM (Trusty Tahr) |
Does not exist
|
|
Patches: Upstream: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3e3c904daef69b8bf7d5cc07f793c9f07c3553ef (master) Upstream: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4ebd0c4191c6073cc8a7c5fdcf1d182c4719bcbb (release/2.26/master) Upstream: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f24c345bf5486cc8d659f7a17463adcae402ec8e (release/2.24/master) |