Amazon Linux 2 : amazon-ssm-agent (ALAS-2022-1807)

high Nessus Plugin ID 163230

Synopsis

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

Description

The version of amazon-ssm-agent installed on the remote host is prior to 3.1.1575.0-1. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2022-1807 advisory.

- encoding/pem in Go before 1.17.9 and 1.18.x before 1.18.1 has a Decode stack overflow via a large amount of PEM data. (CVE-2022-24675)

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 amazon-ssm-agent' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2022-1807.html

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

Plugin Details

Severity: High

ID: 163230

File Name: al2_ALAS-2022-1807.nasl

Version: 1.2

Type: local

Agent: unix

Published: 7/15/2022

Updated: 7/15/2022

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2022-24675

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:amazon-ssm-agent-debuginfo, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:amazon-ssm-agent

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

Exploit Ease: No known exploits are available

Patch Publication Date: 7/6/2022

Vulnerability Publication Date: 4/20/2022

Reference Information

CVE: CVE-2022-24675