Incorrect Authorization Affecting systemd-networkd package, versions <0:219-78.amzn2.0.20


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.21% (66th 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 IDSNYK-AMZN2-SYSTEMDNETWORKD-3042919
  • published12 Oct 2022
  • disclosed9 Apr 2019

Introduced: 9 Apr 2019

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

How to fix?

Upgrade Amazon-Linux:2 systemd-networkd to version 0:219-78.amzn2.0.20 or higher.
This issue was patched in ALAS2-2022-1854.

NVD Description

Note: Versions mentioned in the description apply only to the upstream systemd-networkd package and not the systemd-networkd package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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 Base Scores

version 3.1