ubuntu-cve-2017-16997
Vulnerability from osv_ubuntu
Published
2017-12-17 00:00
Modified
2026-04-22 07:38
Summary
Details
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.
Severity
7.8 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "eglibc-source",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc-bin",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc-dev-bin",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-amd64",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-armel",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-dev-amd64",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-dev-armel",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-dev-i386",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-dev-ppc64",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-dev-x32",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-i386",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-pic",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-ppc64",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-prof",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "libc6-x32",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "multiarch-support",
"binary_version": "2.19-0ubuntu6.14"
},
{
"binary_name": "nscd",
"binary_version": "2.19-0ubuntu6.14"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "eglibc",
"purl": "pkg:deb/ubuntu/eglibc@2.19-0ubuntu6.14?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.19-0ubuntu6.14"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.17-93ubuntu4",
"2.18-0ubuntu1",
"2.18-0ubuntu2",
"2.18-0ubuntu4",
"2.18-0ubuntu5",
"2.18-0ubuntu6",
"2.18-0ubuntu7",
"2.19-0ubuntu2",
"2.19-0ubuntu3",
"2.19-0ubuntu4",
"2.19-0ubuntu5",
"2.19-0ubuntu6",
"2.19-0ubuntu6.1",
"2.19-0ubuntu6.3",
"2.19-0ubuntu6.4",
"2.19-0ubuntu6.5",
"2.19-0ubuntu6.6",
"2.19-0ubuntu6.7",
"2.19-0ubuntu6.8",
"2.19-0ubuntu6.9",
"2.19-0ubuntu6.10",
"2.19-0ubuntu6.11",
"2.19-0ubuntu6.13"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "glibc-source",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc-bin",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc-dev-bin",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-amd64",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-armel",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-dev-amd64",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-dev-armel",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-dev-i386",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-dev-ppc64",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-dev-s390",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-dev-x32",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-i386",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-pic",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-ppc64",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-s390",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "libc6-x32",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "locales",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "locales-all",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "multiarch-support",
"binary_version": "2.23-0ubuntu10"
},
{
"binary_name": "nscd",
"binary_version": "2.23-0ubuntu10"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "glibc",
"purl": "pkg:deb/ubuntu/glibc@2.23-0ubuntu10?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.23-0ubuntu10"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.21-0ubuntu4",
"2.21-0ubuntu5",
"2.21-0ubuntu6",
"2.23-0ubuntu1",
"2.23-0ubuntu2",
"2.23-0ubuntu3",
"2.23-0ubuntu4",
"2.23-0ubuntu5",
"2.23-0ubuntu6",
"2.23-0ubuntu7",
"2.23-0ubuntu9"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2017-16997",
"modified": "2026-04-22T07:38:25Z",
"published": "2017-12-17T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2017-16997"
},
{
"type": "REPORT",
"url": "https://bugs.debian.org/884615"
},
{
"type": "REPORT",
"url": "https://sourceware.org/bugzilla/show_bug.cgi?id=22625"
},
{
"type": "REPORT",
"url": "https://sourceware.org/ml/libc-alpha/2017-12/msg00528.html"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3534-1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2017-16997"
}
],
"related": [
"USN-3534-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2017-16997"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…