{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-16997","id":"CVE-2017-16997","title":"elf/dl-load.c in the GNU C Library (aka glibc or libc6) 2.19 through 2.26 mishandles RPATH and RUNPATH containing $OR…","description":"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 ","descriptionLong":"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.","published":"2017-12-18T01:00:00.000Z","updated":"2026-10-24T10:30:50.254267386Z","reserved":"2017-11-27T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"debian","metric":{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","rating":"critical","source":"NVD"}],"rating":"high","products":["glibc 2.19 through 2.26"],"affectedProducts":[{"vendor":"n/a","product":"glibc 2.19 through 2.26","defaultStatus":null,"versions":[{"status":"affected","version":"glibc 2.19 through 2.26"}],"platforms":[]}],"packages":[],"cwes":["CWE-426"],"aliases":[],"references":[{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=22625","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"http://www.securityfocus.com/bid/102228","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://sourceware.org/ml/libc-alpha/2017-12/msg00528.html","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://bugs.debian.org/884615","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Mailing List","Patch","Third Party Advisory","fix"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3092","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"https://access.redhat.com/errata/RHBA-2019:0327","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02895,"epssPercentile":0.87197,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-16997","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16997","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-16997","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-16997","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["glibc"],"critical":[],"attention":null}