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

Exp

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.

Published: 2018-10-26 Last update: 2025-06-09 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-15687 is rated High Exploit Risk (63.9/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.38%). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2018-15687

EDB-ID Source Kind Published Link
45715 exploit_db edb 2018-10-29 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2018-15687

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-21 0.33% 0.38% +0.05%
2 2025-11-21 0.22% 0.33% +0.11%
3 2025-11-18 0.22%

Full EPSS history (12 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-15687

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.0 3.1 HIGH
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.0 5.9 [email protected]
7.8 3.0 HIGH
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 5.9 [email protected]
6.9 2.0 MEDIUM
AV:L/AC:M/Au:N/C:C/I:C/A:C Click to expand
Access vector (AV:L)
Requires local access to the target system.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:C)
Complete confidentiality impact.
Integrity impact (I:C)
Complete integrity impact.
Availability impact (A:C)
Complete availability impact.
3.4 10.0 [email protected]

Weakness enumeration for CVE-2018-15687

OS Trackers for CVE-2018-15687

vendor priority summary link
debian not yet assigned CVE-2018-15687 not yet assigned priority: Debian including 1 source packages (systemd), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2018-15687
gentoo high CVE-2018-15687: 1 GLSA(s) (201810-10), 1 atom(s) (sys-apps/systemd); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2018-15687
redhat medium https://access.redhat.com/security/cve/CVE-2018-15687
suse medium CVE-2018-15687 severity moderate: SUSE including 417 source package names (amazon/suse-sles-15-sp1-chost-byos-v20210304-hvm-ssd-x86_64, amazon/suse-sles-15-sp1-chost-byos-v20220127-hvm-ssd-x86_64, …), 531 product×package rows across 30 product lines (Magnum Orchestration 7, SUSE CaaS Platform 3.0, … (30 product lines)): Fixed 262, Known Affected 157, Known Not Affected 112. https://www.suse.com/security/cve/CVE-2018-15687/
ubuntu medium CVE-2018-15687 medium priority: Ubuntu including 1 source packages (systemd), 5 status rows across 5 suites (bionic, cosmic, trusty, upstream, xenial): released 3, not-affected 1, pending 1. https://ubuntu.com/security/CVE-2018-15687

Affected software / configurations for CVE-2018-15687

Vendor Product Version Raw CPE
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 18.04 cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 18.10 cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
systemd_project systemd >= 235, < 240 cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*

References for CVE-2018-15687

URL Tags
http://www.securityfocus.com/bid/105748 Broken Link Third Party Advisory VDB Entry
https://github.com/systemd/systemd/pull/10517/commits Patch Third Party Advisory
https://security.gentoo.org/glsa/201810-10 Third Party Advisory
https://usn.ubuntu.com/3816-1/ Third Party Advisory
https://www.exploit-db.com/exploits/45715/ Exploit Third Party Advisory VDB Entry
cvelogic Threat Intelligence