CVE-2017-18078
Reported by mitre · Published January 29, 2018
systemd-tmpfiles in systemd before 237 attempts to support ownership/permission changes on hardlinked files even if the fs.protected_hardlinks sysctl is turned off, which allows local users to bypass intended access restrictions via vectors involving a hard link to a file for which the user lacks write access, as demonstrated by changing the ownership of the /etc/passwd file.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| systemd | Arch Linux | 237.0-1 |
| systemd | systemd_project | 237 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| arch | systemd | 0 |
| chainguard | py3-systemd | * |
| n/a | n/a | * |
Timeline
- Jan 29, 2018 CVE Published
- Jan 31, 2018 PoC Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Aug 5, 2024 CVE Updated
- Jun 1, 2026 Security Advisory (2 in total, the first dated here)
- Oct 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-18078
vulnetix vdb fixes CVE-2017-18078
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-18078/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- openSUSE-SU-2018:0560 vendor-advisoryx_refsource_SUSE
- [oss-security] 20180129 CVE-2018-18078: systemd-tmpfiles root privilege escalation with fs.protected_hardlinks=0 mailing-listx_refsource_MLIST
- 43935 exploitx_refsource_EXPLOIT-DB
- x_refsource_MISC
- x_refsource_MISC
- [oss-security] 20180129 Re: CVE-2017-18078: systemd-tmpfiles root privilege mailing-listx_refsource_MLIST
- [debian-lts-announce] 20190424 [SECURITY] [DLA 1762-1] systemd security update mailing-listx_refsource_MLIST
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-listx_refsource_MLIST
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-listx_refsource_MLIST