CVE-2018-6954Systemd Project Systemd
High 7.8
Follow: this CVE · Systemd Project · Systemd Project Systemd We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 46
- Auth required
- Yes
- Published
- Feb 13, 2018
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-59
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
systemd-tmpfiles in systemd through 237 mishandles symlinks present in non-terminal path components, which allows local users to obtain ownership of arbitrary files via vectors involving creation of a directory and a file under that directory, and later replacing that directory with a symlink. This occurs even if the fs.protected_symlinks sysctl is turned on.
What to do
- Apply the vendor's security update for Systemd.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| systemd_project | systemd | ≤ 237 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
| canonical | ubuntu_linux | 18.10 |
| opensuse | leap | 42.3 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Third Party Advisory
- github.com Exploit Issue Tracking Patch
- lists.apache.org
- lists.apache.org
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory