Vulnerabilities · 2017 · Gnu
CVE-2017-16997
Gnu Glibc vulnerability
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.
Affected products
Glibc, Enterprise Linux Desktop, Enterprise Linux Server, Enterprise Linux Workstation. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnu Glibc runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugs.debian.org/884615 · Patch
- sourceware.org/bugzilla/show_bug.cgi?id=22625 · Patch
- sourceware.org/ml/libc-alpha/2017-12/msg00528.html · Patch
- www.securityfocus.com/bid/102228 · Third Party Advisory
- access.redhat.com/errata/RHBA-2019:0327 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:3092 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-16997
- cve.org/CVERecord?id=CVE-2017-16997
More vulnerabilities in Gnu products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.