CVE-2019-3842
Reported by redhat · Published April 9, 2019
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".
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| systemd-resolved | Amazon Linux | 219-78.amzn2.0.20 |
| systemd | Ubuntu:16.04:LTS | 229-4ubuntu21.21 |
| systemd | Ubuntu:14.04:LTS | 204-5ubuntu20.31 |
| systemd | systemd_project | 241 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| The systemd Project | systemd | v242-rc4 |
| amazon:2 | systemd-resolved | 0 |
| chainguard | py3-systemd | * |
| The systemd Project | systemd | 242-rc4 |
| amazon:2 | libgudev1-devel | 0 |
| amazon:2 | systemd-sysv | 0 |
| amazon:2 | libgudev1 | 0 |
| amazon:2 | systemd-python | 0 |
| amazon:2 | systemd-journal-gateway | 0 |
| amazon:2 | systemd-libs | 0 |
| amazon:2 | systemd | 0 |
| amazon:2 | systemd-devel | 0 |
| amazon:2 | systemd-networkd | 0 |
Timeline
- Apr 8, 2019 CVE Published
- Apr 23, 2019 PoC Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (16 in total, the first dated here)
- Mar 6, 2026 Security Advisory (18 in total, the first dated here)
- Sep 10, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-3842
vulnetix vdb fixes CVE-2019-3842
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-3842/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- FEDORA-2019-3fa5db9e19 vendor-advisoryx_refsource_FEDORA
- 46743 exploitx_refsource_EXPLOIT-DB
- x_refsource_MISC
- [debian-lts-announce] 20190424 [SECURITY] [DLA 1762-1] systemd security update mailing-listx_refsource_MLIST
- openSUSE-SU-2019:1450 vendor-advisoryx_refsource_SUSE
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-listx_refsource_MLIST
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-listx_refsource_MLIST