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
CVSS summary v3.1
- 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 | Affected versions |
|---|---|---|
| Vendor:Red Hat | Red Hat Enterprise Linux 4 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux 5 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux 6 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux 7 | Affected versions:Source does not specify a version range |
| Vendor:gnu | coreutils | Affected versions:≤ 8.29Show full version range for coreutils
|
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:N134c704f-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:NCVE-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:NRed 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:NCVSS 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