Amazon Linux 2 : sudo (ALAS-2023-2301)

medium Nessus Plugin ID 183465


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


The version of sudo installed on the remote host is prior to 1.8.23-10. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2023-2301 advisory.

- Sudo before 1.9.13 does not escape control characters in log messages. (CVE-2023-28486)

- Sudo before 1.9.13 does not escape control characters in sudoreplay output. (CVE-2023-28487)

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


Run 'yum update sudo' to update your system.

See Also

Plugin Details

Severity: Medium

ID: 183465

File Name: al2_ALAS-2023-2301.nasl

Version: 1.1

Type: local

Agent: unix

Published: 10/20/2023

Updated: 2/8/2024

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

Risk Information


Risk Factor: Low

Score: 1.4


Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2023-28487


Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

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

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

Vulnerability Information

CPE: cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:sudo-debuginfo, p-cpe:/a:amazon:linux:sudo-devel, p-cpe:/a:amazon:linux:sudo

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

Exploit Ease: No known exploits are available

Patch Publication Date: 10/12/2023

Vulnerability Publication Date: 3/2/2023

Reference Information

CVE: CVE-2023-28486, CVE-2023-28487

IAVA: 2023-A-0121-S