Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2024-5742: 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
Fixed packages 2
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | nano | 0:2.9.8-2.amzn2.0.2 |
| Amazon Linux · 2 | nano-debuginfo | 0:2.9.8-2.amzn2.0.2 |
Vulnerabilities 1
-
Medium 6.7
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
A vulnerability was found in GNU Nano that allows a possible privilege escalation through an insecure temporary file. If Nano is killed while editing, a file it saves to an emergency file with the permissions of the running user provides a window of opportuni…
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2024-5742.html