{"id":"CVE-2019-3842","details":"In systemd before v242-rc4, it was discovered that pam_systemd does not properly sanitize the environment before using the XDG_SEAT variable. It is possible for an attacker, in some particular configurations, to set a XDG_SEAT environment variable which allows for commands to be checked against polkit policies using the \"allow_active\" element rather than \"allow_any\".","modified":"2026-04-11T12:14:41.305507Z","published":"2019-04-09T21:29:03.443Z","related":["CGA-xgcw-8r8w-cv73","SUSE-SU-2019:1265-1","SUSE-SU-2019:1364-1","SUSE-SU-2019:1364-2","openSUSE-SU-2024:11420-1"],"database_specific":{"unresolved_ranges":[{"cpe":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","extracted_events":[{"last_affected":"8.0"}],"source":"CPE_FIELD"},{"cpe":"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","extracted_events":[{"last_affected":"7.0"}],"source":"CPE_FIELD"}]},"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":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/STR36RJE4ZZIORMDXRERVBHMPRNRTHAC/"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00062.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2019/04/msg00022.html"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3842"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/152610/systemd-Seat-Verification-Active-Session-Spoofing.html"},{"type":"EVIDENCE","url":"https://www.exploit-db.com/exploits/46743/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/systemd/systemd","events":[{"introduced":"0"},{"last_affected":"e62a7fea757f259eb330da5b6d3ab4ede46400a2"},{"last_affected":"d822bd4e2608399bb7e2d17648b76dc57d9bb783"},{"last_affected":"7eb8a47e42a2cac2b4857b435fad4389fcb88555"},{"last_affected":"949082ac214409365c01781fbf18ba08593918ff"},{"last_affected":"501c92c432c7bef452a2714c29519bdd45281a72"}],"database_specific":{"cpe":["cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*","cpe:2.3:a:systemd_project:systemd:242:rc1:*:*:*:*:*:*","cpe:2.3:a:systemd_project:systemd:242:rc2:*:*:*:*:*:*","cpe:2.3:a:systemd_project:systemd:242:rc3:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0"},{"last_affected":"241"},{"last_affected":"242-rc1"},{"last_affected":"242-rc2"},{"last_affected":"242-rc3"},{"last_affected":"30"}],"source":"CPE_FIELD"}}],"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","v237","v238","v239","v24","v240","v241","v241-rc1","v241-rc2","v242-rc1","v242-rc2","v242-rc3","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":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-3842.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}