Vulnerability database / CVE-2019-3842
CVE-2019-3842
HIGH 7.0 CVSS 3.1 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".
Published 9 Apr 2019
Last modified 17 Jun 2026 Assigned by secalert@redhat.com NVD status Modified Weakness
CWE-285 CWE-863 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
HIGH 7.0
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD
secalert@redhat.com (Secondary)
CVSS 3.0
MEDIUM 4.5
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 4.4
AV:L/AC:M/Au:N/C:P/I:P/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
systemd_project
systemdcpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*
<= 241
NVD
systemd_project
systemdcpe:2.3:a:systemd_project:systemd:242:rc1:*:*:*:*:*:*
= 242
NVD
systemd_project
systemdcpe:2.3:a:systemd_project:systemd:242:rc2:*:*:*:*:*:*
= 242
NVD
systemd_project
systemdcpe:2.3:a:systemd_project:systemd:242:rc3:*:*:*:*:*:*
= 242
NVD
redhat
enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
= 30
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
References
History
25 Nov 2026 20:21 UTC · NVD: first stored (published 9 Apr 2019)