Amazon Linux AMI update for less



Published: 2024-08-06
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-32487
CWE-ID CWE-78
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

less
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) OS Command Injection

EUVDB-ID: #VU88533

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2024-32487

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation when handling newline characters in the filename in filename.c. A remote attacker can trick the victim to pass a specially crafted filename to the affected command and execute arbitrary OS commands on the system.

Mitigation

Update the affected packages:

aarch64:
    less-debuginfo-608-2.amzn2023.0.2.aarch64
    less-debugsource-608-2.amzn2023.0.2.aarch64
    less-608-2.amzn2023.0.2.aarch64

src:
    less-608-2.amzn2023.0.2.src

x86_64:
    less-debuginfo-608-2.amzn2023.0.2.x86_64
    less-608-2.amzn2023.0.2.x86_64
    less-debugsource-608-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

less: before 608-2

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2024-622.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###