Summary
Package updates are available for Amazon Linux 2023 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 5
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | default-editor | 0:5.8-3.amzn2023.0.4 |
| Amazon Linux · 2023 | nano | 0:5.8-3.amzn2023.0.4 |
| Amazon Linux · 2023 | nano-debuginfo | 0:5.8-3.amzn2023.0.4 |
| Amazon Linux · 2023 | nano-debugsource | 0:5.8-3.amzn2023.0.4 |
| Amazon Linux · 2023 | nano-default-editor | 0:5.8-3.amzn2023.0.4 |
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