Amazon Linux 2023 : less (ALAS2023-2023-123)

high Nessus Plugin ID 173125

Synopsis

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

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2023-2023-123 advisory.

- In GNU Less before 609, crafted data can result in less -R not filtering ANSI escape sequences sent to the terminal. (CVE-2022-46663)

- close_altfile in filename.c in less before 606 omits shell_quote calls for LESSCLOSE. (CVE-2022-48624)

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

Solution

Run 'dnf update less --releasever=2023.0.20230308' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2023-123.html

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

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

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

Plugin Details

Severity: High

ID: 173125

File Name: al2023_ALAS2023-2023-123.nasl

Version: 1.1

Type: local

Agent: unix

Published: 3/21/2023

Updated: 3/5/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2022-46663

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:less, p-cpe:/a:amazon:linux:less-debugsource, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:less-debuginfo

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

Exploit Ease: No known exploits are available

Patch Publication Date: 3/6/2023

Vulnerability Publication Date: 2/7/2023

Reference Information

CVE: CVE-2022-46663, CVE-2022-48624