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.



CVSS 3 base score: 7.8


Package Release Status
Launchpad, Ubuntu, Debian
Upstream Needs triage

Ubuntu 21.04 (Hirsute Hippo) Does not exist

Ubuntu 20.04 LTS (Focal Fossa) Does not exist

Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 ESM (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr)
Released (2.19-0ubuntu6.14)
Launchpad, Ubuntu, Debian
Released (2.27)
Ubuntu 21.04 (Hirsute Hippo) Not vulnerable
Ubuntu 20.04 LTS (Focal Fossa) Not vulnerable
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
Ubuntu 16.04 ESM (Xenial Xerus)
Released (2.23-0ubuntu10)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Upstream:;h=3e3c904daef69b8bf7d5cc07f793c9f07c3553ef (master)
Upstream:;h=4ebd0c4191c6073cc8a7c5fdcf1d182c4719bcbb (release/2.26/master)
Upstream:;h=f24c345bf5486cc8d659f7a17463adcae402ec8e (release/2.24/master)