Back to CVE catalog
CVE-2017-18018

GNU Coreutils chown/chgrp race condition allows arbitrary file ownership change

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityNone

CVSS summary v3.1

7.1High
Published:
Updated:
EPSS:
0.345%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:Red HatRed Hat Enterprise Linux 4Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 5Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 6Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 7Affected versions:Source does not specify a version range
Vendor:gnucoreutilsAffected versions:
≤ 8.29Show full version range for coreutils
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–5 of 5 · Page 1 of 1

CVSS scores and metrics6
CISA-ADP · CVE List / CNA (adp)Primary7.1 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
None
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
134c704f-9b21-4f2e-91b3-4a467353bcc0 · NVD (Secondary)7.1 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
None
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
[email protected] · NVD (Primary)4.7 / 10MediumCVSS 3.0Details
Attack complexity
High
Confidentiality
None
Integrity
High
Availability
None
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
CVE-2017-18018 · OSV (source-vector)4.7 / 10MediumCVSS 3.0Details
Attack complexity
High
Confidentiality
None
Integrity
High
Availability
None
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Red Hat · Red Hat VEX (adp)4.2 / 10MediumCVSS 3.0Details
Attack complexity
High
Confidentiality
Low
Integrity
Low
Availability
Low
Attack vector
Local
Privileges required
Low
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
[email protected] · NVD (Primary)1.9 / 10LowCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:M/Au:N/C:N/I:P/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories6

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences