GLSA-202211-07 : sysstat: Arbitrary Code Execution

high Nessus Plugin ID 168043

Description

The remote host is affected by the vulnerability described in GLSA-202211-07 (sysstat: Arbitrary Code Execution)

- sysstat is a set of system performance tools for the Linux operating system. On 32 bit systems, in versions 9.1.16 and newer but prior to 12.7.1, allocate_structures contains a size_t overflow in sa_common.c. The allocate_structures function insufficiently checks bounds before arithmetic multiplication, allowing for an overflow in the size allocated for the buffer representing system activities. This issue may lead to Remote Code Execution (RCE). This issue has been patched in version 12.7.1. (CVE-2022-39377)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

All sysstat users should upgrade to the latest version:

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

See Also

https://security.gentoo.org/glsa/202211-07

https://bugs.gentoo.org/show_bug.cgi?id=880543

Plugin Details

Severity: High

ID: 168043

File Name: gentoo_GLSA-202211-07.nasl

Version: 1.4

Type: local

Published: 11/22/2022

Updated: 10/3/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2022-39377

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:sysstat, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/22/2022

Vulnerability Publication Date: 11/8/2022

Reference Information

CVE: CVE-2022-39377