[3.5] coreutils: privilege escalation via recursive dereferences (CVE-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” options, which allows local
users to modify the ownership of
arbitrary files by leveraging a race condition.
References:
http://www.openwall.com/lists/oss-security/2018/01/04/3
https://nvd.nist.gov/vuln/detail/CVE-2017-18018
(from redmine: issue id 9276, created on 2018-08-17, closed on 2019-05-04)
- Relations:
- copied_to #9272
- parent #9272