CVE-2017-16997
Reported by debian · Published December 18, 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| eglibc | Ubuntu:14.04:LTS | 2.19-0ubuntu6.14 |
| glibc | Ubuntu:16.04:LTS | 2.23-0ubuntu10 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | glibc 2.19 through 2.26 | glibc 2.19 through 2.26 |
| n/a | glibc 2.19 through 2.26 | 2.19 |
Timeline
- Dec 18, 2017 CVE Published
- Dec 13, 2019 PoC Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (4 in total, the first dated here)
- Mar 6, 2026 Security Advisory (5 in total, the first dated here)
- Oct 2, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-16997
vulnetix vdb fixes CVE-2017-16997
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-16997/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- 102228 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- RHSA-2018:3092 vendor-advisoryx_refsource_REDHAT
- RHBA-2019:0327 vendor-advisoryx_refsource_REDHAT