{"id":"CVE-2019-3842","aliases":["CVE-2019-3842"],"related":[],"kind":"vulnerability","state":"published","title":"In systemd before v242-rc4, it was discovered that pamsystemd does not properly sanitize the environment before using the XDGSEAT variable.","summary":"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\".","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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\".","source":"cvelist"},{"lang":"es","text":"En systemd anterior de la versión v242-rc4, fue encontrado que pam_systemd no sanea apropiadamente el entorno anterior usando la variable XDG_SEAT. Es posible que un atacante, en ciertas configuraciones particulares, establezca una variable de entorno XDG_SEAT que permita comprobar los comandos contra las políticas polkit utilizando el elemento \"allow_active\" en lugar de \"allow_any\".","source":"nvd"}],"published":"2019-04-09T20:25:01.000Z","modified":"2026-06-17T02:35:42.357Z","severity":{"scorer":"redhat","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","score":4.5,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","score":4.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","score":4.4,"rating":"MEDIUM"}],"cwes":["CWE-285","CWE-863"],"affected":[{"ranges":[{"version":"v242-rc4","status":"affected"}],"vendor":"The systemd Project","product":"systemd","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"241"},{"status":"affected","version":"242"},{"status":"affected","version":"242"},{"status":"affected","version":"242"}],"vendor":"systemd_project","product":"systemd","cpe":"cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"30"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3842","tags":["issue-tracking","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/STR36RJE4ZZIORMDXRERVBHMPRNRTHAC/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.exploit-db.com/exploits/46743/","tags":["exploit","third-party-advisory","vdb-entry","x-refsource-exploit-db","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://packetstormsecurity.com/files/152610/systemd-Seat-Verification-Active-Session-Spoofing.html","tags":["exploit","third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/04/msg00022.html","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00062.html","tags":["third-party-advisory","vendor-advisory","x-refsource-suse","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-06-09T15:47:18.222Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-3842","url":"https://www.cve.org/CVERecord?id=CVE-2019-3842","licence":"CVE Terms of Use","modified":"2025-06-09T15:47:28.243Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-3842","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-3842","licence":"Public domain","modified":"2026-06-17T02:35:42.357Z"}],"updatedAt":"2026-11-25T22:57:44.382Z","epss":{"score":0.01207,"percentile":0.69202,"date":"2026-12-01T12:00:22.000Z"}}