CVE-2017-18018

coreutils: race condition vulnerability in chown and chgrp

Published Jan 4, 2018 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2017-9158 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.
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jun 9, 2025, 3:57 PM
Reserved
Jan 3, 2018, 12:00 AM
Status
Modified
Published
Jan 4, 2018, 4:29 AM
Modified
Jun 17, 2026, 1:12 AM
Severity
Moderate
Public date
Dec 20, 2017, 12:00 AM