Improper Authorization Affecting systemd/systemd package, versions [,242)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (65th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-SYSTEMDSYSTEMD-2365468
  • published26 Jan 2022
  • disclosed9 Apr 2019
  • creditUnknown

Introduced: 9 Apr 2019

CVE-2019-3842  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

Upgrade systemd/systemd to version 242 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authorization. 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".

CVSS Scores

version 3.1