CVEfocus › CVE database › CVE-2019-3842

CVE-2019-3842

CVSS 4.5 MediumEPSS 1.2% (higher than 69% of CVEs)Published 2019-04-09Updated 2025-06-09Assigner: redhat

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".

CWE-285

What to do

Fixed builds are available from Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fixed
10Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04systemdFixed237-3ubuntu10.19UBUNTU-CVE-2019-3842
Ubuntu 16.04systemdFixed229-4ubuntu21.21UBUNTU-CVE-2019-3842
Ubuntu 14.04systemdFixed204-5ubuntu20.31UBUNTU-CVE-2019-3842
Debian 14systemdFixed241-3DEBIAN-CVE-2019-3842
Debian 13systemdFixed241-3DEBIAN-CVE-2019-3842
Debian 12systemdFixed241-3DEBIAN-CVE-2019-3842
Red Hat Enterprise Linux 8systemdFixed0:239-45.el8RHSA-2021:1611
Red Hat Enterprise Linux 8systemd-containerFixed0:239-45.el8RHSA-2021:1611
Red Hat Enterprise Linux 8systemd-develFixed0:239-45.el8RHSA-2021:1611
Red Hat Enterprise Linux 8systemd-journal-remoteFixed0:239-45.el8RHSA-2021:1611
Red Hat Enterprise Linux 8systemd-libsFixed0:239-45.el8RHSA-2021:1611
Red Hat Enterprise Linux 8systemd-pamFixed0:239-45.el8RHSA-2021:1611
Red Hat Enterprise Linux 8systemd-testsFixed0:239-45.el8RHSA-2021:1611
Red Hat Enterprise Linux 8systemd-udevFixed0:239-45.el8RHSA-2021:1611
Red Hat Enterprise Linux 7libgudev1Will not fix
Will not fix
Red Hat Enterprise Linux 7libgudev1-develWill not fix
Will not fix
Red Hat Enterprise Linux 7systemdWill not fix
Will not fix
Red Hat Enterprise Linux 7systemd-develWill not fix
Will not fix
Red Hat Enterprise Linux 7systemd-journal-gatewayWill not fix
Will not fix
Red Hat Enterprise Linux 7systemd-libsWill not fix
Will not fix
Red Hat Enterprise Linux 7systemd-networkdWill not fix
Will not fix
Red Hat Enterprise Linux 7systemd-pythonWill not fix
Will not fix
Red Hat Enterprise Linux 7systemd-resolvedWill not fix
Will not fix
Red Hat Enterprise Linux 7systemd-sysvWill not fix
Will not fix
Rocky Linux 8systemdFixed0:239-45.el8RLSA-2021:1611

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.