Summary
This update for nano fixes the following issues:
- CVE-2024-5742: Avoid privilege escalations via symlink attacks on emergency save file (boo#1226099)
Fixed packages 4
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 15.5 | nano | 7.2-bp156.3.3.1 |
| openSUSE · Leap 15.6 | nano | 7.2-bp156.3.3.1 |
| SUSE · Package Hub 15 SP5 | nano | 7.2-bp156.3.3.1 |
| SUSE · Package Hub 15 SP6 | nano | 7.2-bp156.3.3.1 |
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…