Back
CVE-2018-15687
systemd: chown_one() can dereference symlinks
High7.8EPSS 1.1%
- Published
- Updated
- Reserved
- 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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| canonicalCNA (assigner) | 3.0 | High7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.1% · top 35% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
- There is a race condition between a stat(2) call and the fchmodat(2) call.
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') (opens in a new tab)All about CWE-362 and its CVEs
Affected products
References (5)
- GLSA-201810-10 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- https://github.com/systemd/systemd/pull/10517/commits (opens in a new tab)x_refsource_MISCx_transferred
- 105748 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- USN-3816-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 45715 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-15687)Record last updated .