ubuntu-cve-2017-18018
Vulnerability from osv_ubuntu
Published
2018-01-04 04:29
Modified
2025-10-24 04:46
Summary
Details
In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a symlink during use of the POSIX "-R -L" options, which allows local users to modify the ownership of arbitrary files by leveraging a race condition.
Severity
4.7 (Medium)
7.1 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "coreutils",
"binary_version": "8.21-1ubuntu5.4"
},
{
"binary_name": "mktemp",
"binary_version": "8.21-1ubuntu5.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "coreutils",
"purl": "pkg:deb/ubuntu/coreutils@8.21-1ubuntu5.4?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.20-3ubuntu5",
"8.21-1ubuntu3",
"8.21-1ubuntu4",
"8.21-1ubuntu5",
"8.21-1ubuntu5.1",
"8.21-1ubuntu5.3",
"8.21-1ubuntu5.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "coreutils",
"binary_version": "8.25-2ubuntu3~16.04"
},
{
"binary_name": "mktemp",
"binary_version": "8.25-2ubuntu3~16.04"
},
{
"binary_name": "realpath",
"binary_version": "8.25-2ubuntu3~16.04"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "coreutils",
"purl": "pkg:deb/ubuntu/coreutils@8.25-2ubuntu3~16.04?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.23-4ubuntu2",
"8.25-2ubuntu2",
"8.25-2ubuntu3~16.04"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "coreutils",
"binary_version": "8.28-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "coreutils",
"purl": "pkg:deb/ubuntu/coreutils@8.28-1ubuntu1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.26-3ubuntu4",
"8.28-1ubuntu1"
]
}
],
"aliases": [],
"details": "In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a symlink during use of the POSIX \"-R -L\" options, which allows local users to modify the ownership of arbitrary files by leveraging a race condition.",
"id": "UBUNTU-CVE-2017-18018",
"modified": "2025-10-24T04:46:38Z",
"published": "2018-01-04T04:29:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2017-18018"
},
{
"type": "REPORT",
"url": "http://lists.gnu.org/archive/html/coreutils/2017-12/msg00045.html"
},
{
"type": "REPORT",
"url": "http://www.openwall.com/lists/oss-security/2018/01/04/3"
},
{
"type": "REPORT",
"url": "https://lists.gnu.org/archive/html/coreutils/2017-12/msg00072.html"
},
{
"type": "REPORT",
"url": "https://lists.gnu.org/archive/html/coreutils/2017-12/msg00073.html"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2017-18018"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2017-18018"
]
}
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…