sysstat: Arbitrary code execution — GLSA 202007-22

A use-after-free in sysstat was discovered which may allow arbitrary code execution.

Affected packages

app-admin/sysstat on all architectures
Affected versions < 12.2.1
Unaffected versions >= 12.2.1

Background

sysstat is a package containing a number of performance monitoring utilities for Linux, including sar, mpstat, iostat and sa tools.

Description

A double-free in sysstat’s check_file_actlst() function was discovered.

Impact

A local attacker could possibly execute arbitrary code with the privileges of the process or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All sysstat users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-admin/sysstat-12.2.1"
 

References

Release date
July 27, 2020

Latest revision
July 27, 2020: 1

Severity
normal

Exploitable
local

Bugzilla entries