CVE-2017-18018
published 2018-01-04CVE-2017-18018: 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"…
PriorityP429high7.1CVSS 3.1
AVLACLPRLUINSUCHIHAN
EPSS
0.35%
27.0th percentile
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.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | coreutils | — | — |
| gnu | coreutils | <= 8.29 | — |
CVSS provenance
nvdv3.17.1HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
nvdv3.04.7MEDIUMCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
nvdv2.01.9LOWAV:L/AC:M/Au:N/C:N/I:P/A:N
osv7.1HIGH
vendor_debian7.1LOW
vendor_redhat7.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
coreutils: race condition vulnerability in chown and chgrp
vendor_redhat·2017-12-20·CVSS 7.1
CVE-2017-18018 [HIGH] CWE-362 coreutils: race condition vulnerability in chown and chgrp
coreutils: race condition vulnerability in chown and chgrp
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.
Statement: For this vulnerability the fix was an update to the documentation.
For more details please visit:
https://www.openwall.com/lists/oss-security/2018/01/04/3
http://michael.orlitzky.com/cves/cve-2017-18018.xhtml
Red Hat Enterprise Linux 8 ships already updated version of the coreutils package (version 8.30).
Package: coreutils (Red Hat Enterprise Linux 4) - Will not fix
Package: coreutils (Red Hat Enterprise Linux 5) - Will not fix
Package: coreutils (Red Hat
Debian
CVE-2017-18018: coreutils - In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent ...
vendor_debian·2017·CVSS 7.1
CVE-2017-18018 [HIGH] CVE-2017-18018: coreutils - In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent ...
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.
Scope: local
bookworm: open
bullseye: open
forky: open
sid: open
trixie: open
OSV
CVE-2017-18018: In GNU Coreutils through 8
osv·2018-01-04·CVSS 7.1
CVE-2017-18018 [HIGH] CVE-2017-18018: In GNU Coreutils through 8
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-18018 coreutils: race condition vulnerability in chown and chgrp [fedora-all]
bugzilla·2018-01-08·CVSS 7.1
CVE-2017-18018 [HIGH] CVE-2017-18018 coreutils: race condition vulnerability in chown and chgrp [fedora-all]
CVE-2017-18018 coreutils: race condition vulnerability in chown and chgrp [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported
Bugzilla
CVE-2017-18018 coreutils: race condition vulnerability in chown and chgrp
bugzilla·2018-01-08·CVSS 7.1
CVE-2017-18018 [HIGH] CVE-2017-18018 coreutils: race condition vulnerability in chown and chgrp
CVE-2017-18018 coreutils: race condition vulnerability in chown and chgrp
A flaw was found in GNU Coreutils through 8.29 in chown-core.c. The functions chown and chgrp do 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.
References:
http://lists.gnu.org/archive/html/coreutils/2017-12/msg00045.html
Discussion:
Created coreutils tracking bugs for this issue:
Affects: fedora-all [bug 1532285]
---
Do I understand it correctly that CVE-2017-18018 was fixed as documentation bug only? What are you expecting to happen? The documentation fix being applied on Fedora release via security update?
Are you assuming that Fedora users read the info docu
2018-01-04
Published