CVE-2017-18018: GNU Coreutils · Race Condition
Source CVE Database V5
Not known to be exploited · CVSS 7.1 High.
Data as of 26 Oct 2026, 11:07 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Jan 2018
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Debiandebian/coreutilspkg:deb/debian/coreutilsOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2017-18018, European organizations should: 1) Upgrade GNU Coreutils to a version later than 8.29 where the vulnerability is fixed. If an upgrade is not immediately possible, consider applying vendor-supplied patches or backported fixes. 2) Audit and review scripts and automation tools that use chown or chgrp with recursive "-R -L" options to avoid following symbolic links during ownership changes. Prefer using "-R -P" (do not follow symlinks) or explicitly avoid the "-L" option unless necessary. 3) Restrict local user permissions to minimize the ability of unprivileged users to execute ownership changes or replace files with symbolic links in sensitive directories. 4) Implement file system monitoring to detect unexpected changes in file ownership or the presence of suspicious symbolic links in critical paths. 5) Employ mandatory access controls (e.g., SELinux, AppArmor) to limit the impact of unauthorized ownership changes. 6) Educate system administrators about the risks of recursive ownership changes involving symbolic links and encourage best practices to avoid race conditions. These targeted actions go beyond generic advice by focusing on the specific conditions that enable exploitation of this vulnerability.
Description
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.