ALAS-2024-2590


Amazon Linux 2 Security Advisory: ALAS-2024-2590
Advisory Release Date: 2024-07-18 02:00 Pacific
Advisory Updated Date: 2024-07-22 13:50 Pacific
Severity: Medium

Issue Overview:

nano: running `chmod` and `chown` on the filename allows malicious user to replace the emergency file with a malicious symlink to a root-owned file (CVE-2024-5742)


Affected Packages:

nano


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 nano to update your system.

New Packages:
aarch64:
    nano-2.9.8-2.amzn2.0.2.aarch64
    nano-debuginfo-2.9.8-2.amzn2.0.2.aarch64

i686:
    nano-2.9.8-2.amzn2.0.2.i686
    nano-debuginfo-2.9.8-2.amzn2.0.2.i686

src:
    nano-2.9.8-2.amzn2.0.2.src

x86_64:
    nano-2.9.8-2.amzn2.0.2.x86_64
    nano-debuginfo-2.9.8-2.amzn2.0.2.x86_64