CWE
426
Advisory Published
CVE Published
Updated

CVE-2017-16997

First published: Sun Dec 17 2017(Updated: )

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.

Credit: security@debian.org security@debian.org

Affected SoftwareAffected VersionHow to fix
GNU glibc=2.19
GNU glibc=2.20
GNU glibc=2.21
GNU glibc=2.22
GNU glibc=2.23
GNU glibc=2.25
GNU glibc=2.26
Redhat Enterprise Linux Desktop=7.0
Redhat Enterprise Linux Server=7.0
Redhat Enterprise Linux Workstation=7.0
redhat/glibc<2.25.1
2.25.1
debian/glibc
2.31-13+deb11u11
2.31-13+deb11u10
2.36-9+deb12u8
2.36-9+deb12u7
2.40-3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2017-16997?

    CVE-2017-16997 is a vulnerability in the GNU C Library (glibc or libc6) that mishandles RPATH and RUNPATH, allowing local users to gain privileges via a Trojan horse library.

  • How severe is CVE-2017-16997?

    CVE-2017-16997 has a severity rating of 7.8 (Critical).

  • Which software versions are affected by CVE-2017-16997?

    Versions of glibc from 2.19 to 2.26 are affected by CVE-2017-16997.

  • How can I fix CVE-2017-16997?

    Update glibc to version 2.28-10+deb10u1 or later, 2.31-13+deb11u6 or later, or 2.36-9+deb12u2 or later.

  • Where can I find more information about CVE-2017-16997?

    More information about CVE-2017-16997 can be found at the following references: [SecurityFocus](http://www.securityfocus.com/bid/102228), [Red Hat Advisory RHBA-2019:0327](https://access.redhat.com/errata/RHBA-2019:0327), [Red Hat Advisory RHSA-2018:3092](https://access.redhat.com/errata/RHSA-2018:3092).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203