First published: Thu Jan 04 2018(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
GNU coreutils | <=8.29 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2017-18018 has a moderate severity due to its potential to allow local users to escalate privileges.
To fix CVE-2017-18018, upgrade to GNU Coreutils version 8.30 or later.
CVE-2017-18018 enables local users to exploit a race condition to change the ownership of any file.
Versions of GNU Coreutils from 8.29 and earlier are affected by CVE-2017-18018.
Currently, there are no effective workarounds for CVE-2017-18018 aside from updating to a patched version.