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
Status
Package | Release | Status |
---|---|---|
eglibc Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
eoan |
Does not exist
|
|
focal |
Does not exist
|
|
groovy |
Does not exist
|
|
hirsute |
Does not exist
|
|
trusty |
Released
(2.19-0ubuntu6.14)
|
|
upstream |
Needs triage
|
|
xenial |
Does not exist
|
|
zesty |
Does not exist
|
|
glibc Launchpad, Ubuntu, Debian |
artful |
Released
(2.26-0ubuntu2.1)
|
bionic |
Not vulnerable
(2.27-3ubuntu1)
|
|
cosmic |
Not vulnerable
(2.27-3ubuntu1)
|
|
disco |
Not vulnerable
(2.27-3ubuntu1)
|
|
eoan |
Not vulnerable
(2.27-3ubuntu1)
|
|
focal |
Not vulnerable
(2.27-3ubuntu1)
|
|
groovy |
Not vulnerable
(2.27-3ubuntu1)
|
|
hirsute |
Not vulnerable
(2.27-3ubuntu1)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(2.27)
|
|
xenial |
Released
(2.23-0ubuntu10)
|
|
zesty |
Ignored
(end of life)
|
|
Patches: upstream: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3e3c904daef69b8bf7d5cc07f793c9f07c3553ef upstream: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4ebd0c4191c6073cc8a7c5fdcf1d182c4719bcbb upstream: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f24c345bf5486cc8d659f7a17463adcae402ec8e |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.8 |
Attack vector | Local |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |