Amazon Linux 2023 : openssh, openssh-clients, openssh-keycat (ALAS2023-2024-649)

high Nessus Plugin ID 201228

Synopsis

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

Description

It is, therefore, affected by a vulnerability as referenced in the ALAS2023-2024-649 advisory.

A signal handler race condition was found in OpenSSH's server (sshd), where a client does not authenticate within LoginGraceTime seconds (120 by default, 600 in old OpenSSH versions), then sshd's SIGALRM handler is called asynchronously. However, this signal handler calls various functions that are not async-signal- safe, for example, syslog().

Tenable has extracted the preceding description block directly from the tested product security advisory.

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

Solution

Run 'dnf update openssh --releasever 2023.5.20240701' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2024-649.html

https://alas.aws.amazon.com/cve/html/CVE-2024-6387.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: High

ID: 201228

File Name: al2023_ALAS2023-2024-649.nasl

Version: 1.2

Type: local

Agent: unix

Published: 7/2/2024

Updated: 7/3/2024

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

Risk Information

VPR

Risk Factor: Critical

Score: 9.2

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 6

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

CVSS Score Source: CVE-2024-6387

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/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:amazon:linux:openssh-clients, p-cpe:/a:amazon:linux:openssh-clients-debuginfo, p-cpe:/a:amazon:linux:openssh-keycat, p-cpe:/a:amazon:linux:pam_ssh_agent_auth, p-cpe:/a:amazon:linux:openssh-debugsource, p-cpe:/a:amazon:linux:openssh-keycat-debuginfo, p-cpe:/a:amazon:linux:openssh-server, p-cpe:/a:amazon:linux:openssh-server-debuginfo, p-cpe:/a:amazon:linux:pam_ssh_agent_auth-debuginfo, p-cpe:/a:amazon:linux:openssh, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:openssh-debuginfo

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: 6/26/2024

Vulnerability Publication Date: 6/26/2024

Reference Information

CVE: CVE-2024-6387