Incorrect Authorization Affecting systemd-tests package, versions <0:239-31.el8_2.7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.22% (61st 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 Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-SYSTEMDTESTS-3974588
  • published26 Jul 2021
  • disclosed8 Apr 2019

Introduced: 8 Apr 2019

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

How to fix?

Upgrade RHEL:8 systemd-tests to version 0:239-31.el8_2.7 or higher.
This issue was patched in RHSA-2021:3900.

NVD Description

Note: Versions mentioned in the description apply only to the upstream systemd-tests package and not the systemd-tests package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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