CVEvulnerability

CVE-2017-18078

7.8 HIGH Published 2018-01-29 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-01-29
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
4.6 MEDIUM — AV:L/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-59

Description

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.

Affected configurations

• systemd project systemd (< 237) • debian debian linux 8.0 • opensuse leap 42.3

Related

Weakness · CWE (1)

  • CWE-59 Improper Link Resolution Before File Access weakness

References