7.8
HIGH
CVE-2017-16997
"GNU C Library (glibc) ELF Directory Traversal Vulnerability"
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 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.

INFO

Published Date :

Dec. 18, 2017, 1:29 a.m.

Last Modified :

Oct. 15, 2020, 1:28 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2017-16997 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2017-16997 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux_desktop
2 Redhat enterprise_linux_server
3 Redhat enterprise_linux_workstation
1 Gnu glibc
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-16997.

URL Resource
http://www.securityfocus.com/bid/102228 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHBA-2019:0327 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:3092 Third Party Advisory
https://bugs.debian.org/884615 Issue Tracking Mailing List Patch Third Party Advisory
https://sourceware.org/bugzilla/show_bug.cgi?id=22625 Issue Tracking Patch Third Party Advisory
https://sourceware.org/ml/libc-alpha/2017-12/msg00528.html Issue Tracking Patch Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Ruby

Updated: 5 years, 4 months ago
2 stars 1 fork 1 watcher
Born at : May 20, 2018, 11:18 p.m. This repo has been linked 1 different CVEs too.

A proof-of-concept for CVE-2017-16997

Shell Makefile C

Updated: 6 years, 10 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 3, 2018, 9:31 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-16997 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-16997 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CPE Deprecation Remap by [email protected]

    Oct. 15, 2020

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:o:redhat:virtualization:4.0:*:*:*:*:*:*:* OR *cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:*
  • Modified Analysis by [email protected]

    Apr. 26, 2019

    Action Type Old Value New Value
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:3092 No Types Assigned https://access.redhat.com/errata/RHSA-2018:3092 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHBA-2019:0327 No Types Assigned https://access.redhat.com/errata/RHBA-2019:0327 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:virtualization:4.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Apr. 24, 2019

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHBA-2019:0327 [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 31, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:3092 [No Types Assigned]
  • Initial Analysis by [email protected]

    Jan. 05, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugs.debian.org/884615 No Types Assigned https://bugs.debian.org/884615 Issue Tracking, Mailing List, Patch, Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/102228 No Types Assigned http://www.securityfocus.com/bid/102228 Third Party Advisory, VDB Entry
    Changed Reference Type https://sourceware.org/bugzilla/show_bug.cgi?id=22625 No Types Assigned https://sourceware.org/bugzilla/show_bug.cgi?id=22625 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://sourceware.org/ml/libc-alpha/2017-12/msg00528.html No Types Assigned https://sourceware.org/ml/libc-alpha/2017-12/msg00528.html Issue Tracking, Patch, Third Party Advisory
    Added CWE CWE-426
    Added CPE Configuration OR *cpe:2.3:a:gnu:glibc:2.19:*:*:*:*:*:*:* *cpe:2.3:a:gnu:glibc:2.20:*:*:*:*:*:*:* *cpe:2.3:a:gnu:glibc:2.21:*:*:*:*:*:*:* *cpe:2.3:a:gnu:glibc:2.22:*:*:*:*:*:*:* *cpe:2.3:a:gnu:glibc:2.23:*:*:*:*:*:*:* *cpe:2.3:a:gnu:glibc:2.25:*:*:*:*:*:*:* *cpe:2.3:a:gnu:glibc:2.26:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jan. 04, 2018

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/102228 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-16997 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2017-16997 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.08 }} -0.00%

score

0.36313

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability