CVE-2018-15687
systemd: Dereference of symlinks in chown_recursive.c:chown_one() allows for modification of file privileges
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · October 26, 2018
Updated · June 27, 2026
Description
A race condition in chown_one() of systemd allows an attacker to cause systemd to set arbitrary permissions on arbitrary files. Affected releases are systemd versions up to and including 239.
Statement
This issue did not affect the versions of systemd as shipped with Red Hat Enterprise Linux 7 as the vulnerable code was introduced in a newer version of the package.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 6.3CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition