VDB

CVE-2019-3842

CVE-2019-3842 PUBLISHED CVSS 4.5 MEDIUM

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.

PackageEcosystemFixed in
systemd-resolvedAmazon Linux219-78.amzn2.0.20
systemdUbuntu:16.04:LTS229-4ubuntu21.21
systemdUbuntu:14.04:LTS204-5ubuntu20.31
systemdsystemd_project241

Risk scores

CVSS 3.0
4.5
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
The systemd Projectsystemdv242-rc4
amazon:2systemd-resolved0
chainguardpy3-systemd*
The systemd Projectsystemd242-rc4
amazon:2libgudev1-devel0
amazon:2systemd-sysv0
amazon:2libgudev10
amazon:2systemd-python0
amazon:2systemd-journal-gateway0
amazon:2systemd-libs0
amazon:2systemd0
amazon:2systemd-devel0
amazon:2systemd-networkd0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›