{"id":"CVE-2017-18078","details":"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.","modified":"2026-04-10T03:58:06.294625Z","published":"2018-01-29T05:29:00.213Z","related":["CGA-wq3j-6726-22cv","SUSE-SU-2018:0546-1","openSUSE-SU-2024:11420-1"],"references":[{"type":"WEB","url":"https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2019/04/msg00022.html"},{"type":"ADVISORY","url":"https://www.openwall.com/lists/oss-security/2018/01/29/4"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-updates/2018-02/msg00109.html"},{"type":"REPORT","url":"https://github.com/systemd/systemd/issues/7736"},{"type":"EVIDENCE","url":"https://www.exploit-db.com/exploits/43935/"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/146184/systemd-Local-Privilege-Escalation.html"},{"type":"EVIDENCE","url":"http://www.openwall.com/lists/oss-security/2018/01/29/3"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/systemd/systemd","events":[{"introduced":"0"},{"fixed":"46659f7deb962f55c728e70597e37c2a3ab6326d"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"237"}]}}],"versions":["v1","v10","v11","v12","v13","v14","v15","v16","v17","v18","v183","v184","v185","v186","v187","v188","v189","v19","v190","v191","v192","v193","v194","v195","v196","v197","v198","v199","v2","v20","v200","v201","v202","v203","v204","v205","v206","v207","v208","v209","v21","v210","v211","v212","v213","v214","v215","v216","v217","v218","v219","v22","v220","v221","v222","v223","v224","v225","v226","v227","v228","v229","v23","v230","v231","v232","v233","v234","v235","v236","v24","v25","v26","v27","v28","v29","v3","v30","v31","v32","v33","v34","v35","v36","v37","v38","v39","v4","v40","v41","v42","v43","v44","v5","v6","v7","v8","v9"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"8.0"}]},{"events":[{"introduced":"0"},{"last_affected":"42.3"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-18078.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}