Skip to content
OpenAdvisories
High · 7.8 Public exploit CVE-2018-15687 EUVD-2018-7557GHSA-wxcv-623q-99fj

systemd: chown_one() can dereference symlinks

Published Oct 26, 2018 · Updated Jun 9, 2025 · Assigned by canonical

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.

Affected products

VendorProductAffectedFixed
systemd systemd unspecified – ≤ 239 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 systemd 239-11 —
Debian 13 systemd 239-11 —
Debian 12 systemd 239-11 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS systemd 237-3ubuntu10.6 USN-3816-1
Ubuntu 16.04 LTS systemd 229-4ubuntu21.8 USN-3816-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed systemd 249.4-2.2 openSUSE-SU-2024:11420-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References