systemd: Heap use-after-free — GLSA 202003-20

A heap use-after-free flaw in systemd at worst might allow an attacker to execute arbitrary code.

Affected packages

sys-apps/systemd on all architectures
Affected versions < 244.3
Unaffected versions >= 244.3

Background

A system and service manager.

Description

It was found that systemd incorrectly handled certain Polkit queries.

Impact

A local unprivileged user, by sending a specially crafted Polkit query, could possibly execute arbitrary code with the privileges of the process, escalate privileges or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All systemd users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=sys-apps/systemd-244.3"
 

References

Release date
March 15, 2020

Latest revision
March 15, 2020: 1

Severity
high

Exploitable
local

Bugzilla entries