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.

Project Subscriptions

Vendors Products
Enterprise Linux Subscribe
Enterprise Linux Desktop Subscribe
Enterprise Linux Server Subscribe
Enterprise Linux Workstation Subscribe
Advisories
Source ID Title
EUVD EUVD EUVD-2017-8165 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.
Ubuntu USN Ubuntu USN USN-3534-1 GNU C Library vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.01861}

epss

{'score': 0.00813}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: debian

Published:

Updated: 2024-08-05T20:43:59.423Z

Reserved: 2017-11-27T00:00:00.000Z

Link: CVE-2017-16997

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2017-12-18T01:29:00.190

Modified: 2025-04-20T01:37:25.860

Link: CVE-2017-16997

cve-icon Redhat

Severity : Moderate

Publid Date: 2017-12-17T00:00:00Z

Links: CVE-2017-16997 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses