{"id":"CVE-2017-16997","published":"2017-12-18T01:00:00Z","modified":"2024-08-05T20:43:59Z","title":"elf/dl-load.c in the GNU C Library (aka glibc or libc6) 2.19 through 2.26 mishandles RPATH and RUNPATH containing…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02895,"percentile":0.8687,"provenance":"source"},"cwes":[],"references":[{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=22625","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/102228","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://sourceware.org/ml/libc-alpha/2017-12/msg00528.html","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.debian.org/884615","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3092","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHBA-2019:0327","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":22.4,"factors":[{"name":"EPSS percentile","points":17.37},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2018-01-03","earliestUrl":"https://github.com/Xiami2012/CVE-2017-16997-poc","repos":[{"name":"Xiami2012/CVE-2017-16997-poc","url":"https://github.com/Xiami2012/CVE-2017-16997-poc","stars":0,"created":"2018-01-03"}]},"first":{"date":"2018-01-03","source":"PoC-in-GitHub","url":"https://github.com/Xiami2012/CVE-2017-16997-poc"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"glibc 2.19 through 2.26","versions":["glibc 2.19 through 2.26"]}],"euvd":{"id":"EUVD-2017-8165","exploited":false,"provenance":"source"}}