Skip to main content
CVE-2017-18018VulnerabilityPublished Updated

CVE-2017-18018: n/a

Source CVE Database V5

0

Not known to be exploited · CVSS 7.1 High.

Data as of 26 Oct 2026, 07:57 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Jan 2018

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
Debiandebian/coreutilspkg:deb/debian/coreutilsOther threatsAffected
  • >=8.0.0 <=8.29
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.

References

Community reviews

Loading reviews…