Amazon Linux 2022 : sysstat (ALAS2022-2022-255)

high Nessus Plugin ID 168548

Synopsis

The remote Amazon Linux 2022 host is missing a security update.

Description

The version of sysstat installed on the remote host is prior to 12.5.6-1. It is, therefore, affected by a vulnerability as referenced in the ALAS2022-2022-255 advisory.

- 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

Run 'yum update sysstat' to update your system.

See Also

https://alas.aws.amazon.com/AL2022/ALAS-2022-255.html

https://alas.aws.amazon.com/cve/html/CVE-2022-39377.html

Plugin Details

Severity: High

ID: 168548

File Name: al2022_ALAS2022-2022-255.nasl

Version: 1.5

Type: local

Agent: unix

Published: 12/9/2022

Updated: 12/11/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, 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: cpe:/o:amazon:linux:2022, p-cpe:/a:amazon:linux:sysstat-debuginfo, p-cpe:/a:amazon:linux:sysstat-debugsource, p-cpe:/a:amazon:linux:sysstat

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/6/2022

Vulnerability Publication Date: 11/8/2022

Reference Information

CVE: CVE-2022-39377