Lucene search

K
amazonAmazonALAS-2024-2547
HistoryMay 23, 2024 - 10:04 p.m.

Important: less

2024-05-2322:04:00
alas.aws.amazon.com
3
os command execution
newline character
file handling
untrusted archive
lessopen environment variable
amazon linux 2
yum update
red hat
mitre
unix

6.9 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.3%

Issue Overview:

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. (CVE-2024-32487)

Affected Packages:

less

Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.

Issue Correction:
Run yum update less to update your system.

New Packages:

aarch64:  
    less-458-9.amzn2.0.4.aarch64  
    less-debuginfo-458-9.amzn2.0.4.aarch64  
  
i686:  
    less-458-9.amzn2.0.4.i686  
    less-debuginfo-458-9.amzn2.0.4.i686  
  
src:  
    less-458-9.amzn2.0.4.src  
  
x86_64:  
    less-458-9.amzn2.0.4.x86_64  
    less-debuginfo-458-9.amzn2.0.4.x86_64  

Additional References

Red Hat: CVE-2024-32487

Mitre: CVE-2024-32487