CWE
362
Advisory Published
Updated

CVE-2017-18018: Race Condition

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 SoftwareAffected VersionHow to fix
GNU Coreutils<=8.29

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2017-18018?

    CVE-2017-18018 has a moderate severity due to its potential to allow local users to escalate privileges.

  • How do I fix CVE-2017-18018?

    To fix CVE-2017-18018, upgrade to GNU Coreutils version 8.30 or later.

  • What type of attack does CVE-2017-18018 enable?

    CVE-2017-18018 enables local users to exploit a race condition to change the ownership of any file.

  • Which versions of GNU Coreutils are affected by CVE-2017-18018?

    Versions of GNU Coreutils from 8.29 and earlier are affected by CVE-2017-18018.

  • Are there any workarounds for CVE-2017-18018?

    Currently, there are no effective workarounds for CVE-2017-18018 aside from updating to a patched version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203