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

medium Nessus Plugin ID 183465

Synopsis

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

Description

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.

Solution

Run 'yum update sudo' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2023-2301.html

https://alas.aws.amazon.com/cve/html/CVE-2023-28486.html

https://alas.aws.amazon.com/cve/html/CVE-2023-28487.html

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

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: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 1.4

CVSS v2

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

CVSS v3

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: p-cpe:/a:amazon:linux:sudo, p-cpe:/a:amazon:linux:sudo-debuginfo, p-cpe:/a:amazon:linux:sudo-devel, cpe:/o:amazon:linux:2

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