CVEfocus › CVE database › CVE-2018-15687

CVE-2018-15687systemd: chown_one() can dereference symlinks

CVSS 7.8 HighEPSS 1.1% (higher than 65% of CVEs)Published 2018-10-26Updated 2025-06-09Assigner: canonical

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.

CWE-362

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
18Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04systemdFixed237-3ubuntu10.6UBUNTU-CVE-2018-15687
Ubuntu 16.04systemdFixed229-4ubuntu21.8UBUNTU-CVE-2018-15687
Debian 14systemdFixed239-11DEBIAN-CVE-2018-15687
Debian 13systemdFixed239-11DEBIAN-CVE-2018-15687
Debian 12systemdFixed239-11DEBIAN-CVE-2018-15687
Red Hat Enterprise Linux 8systemdNot affected
Red Hat Enterprise Linux 8systemd-containerNot affected
Red Hat Enterprise Linux 8systemd-develNot affected
Red Hat Enterprise Linux 8systemd-journal-remoteNot affected
Red Hat Enterprise Linux 8systemd-libsNot affected
Red Hat Enterprise Linux 8systemd-pamNot affected
Red Hat Enterprise Linux 8systemd-testsNot affected
Red Hat Enterprise Linux 8systemd-udevNot affected
Red Hat Enterprise Linux 7libgudev1Not affected
Red Hat Enterprise Linux 7libgudev1-develNot affected
Red Hat Enterprise Linux 7systemdNot affected
Red Hat Enterprise Linux 7systemd-develNot affected
Red Hat Enterprise Linux 7systemd-journal-gatewayNot affected
Red Hat Enterprise Linux 7systemd-libsNot affected
Red Hat Enterprise Linux 7systemd-networkdNot affected
Red Hat Enterprise Linux 7systemd-pythonNot affected
Red Hat Enterprise Linux 7systemd-resolvedNot affected
Red Hat Enterprise Linux 7systemd-sysvNot affected

What the vendor says

As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.