CVE-2019-3842

systemd: Spoofing of XDG_SEAT allows for actions to be checked against "allow_active" instead of "allow_any"

Published Apr 9, 2019 CVSS 3.1 · 7.0 High EPSS 1.2% KEV · Not listed
Description
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".

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1762-1 systemd security update
Debian DSA Debian DSA DSA-4428-1 systemd security update
EUVD EUVD EUVD-2019-13462 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".
Ubuntu USN Ubuntu USN USN-3938-1 systemd vulnerability
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00096}

epss

{'score': 0.0009}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Jun 9, 2025, 3:47 PM
Reserved
Jan 3, 2019, 12:00 AM
Status
Modified
Published
Apr 9, 2019, 9:29 PM
Modified
Jun 17, 2026, 2:35 AM
Severity
Moderate
Public date
Apr 8, 2019, 12:00 AM