Distro advisory · AmazonLinux 1
important priority package update for less
AmazonLinux 1
What it fixes
Package updates are available for Amazon Linux AMI that fix the following vulnerabilities: CVE-2024-32487: less through 653 allows OS command execution via a newline character in the name of a file, because quoting is mishandled in filename.c. Exploitation typically requires use with attacker-controlled file names, such as the files extracted from an untrusted archive. Exploitation also requires the LESSOPEN environment variable, but this is set by default in many common cases.
Manual fix · AmazonLinux 1
sudo yum updateinfo info ALAS-2025-1958sudo yum upgrade --advisory=ALAS-2025-1958rpm -q less