openSUSE has issued an advisory on June 12: https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/VCJGQ6SCOSZGXAPYA7GYUT3M6ZPBLO5V/ The problem is fixed in version 8.0 or with the following commit: https://git.savannah.gnu.org/cgit/nano.git/commit/?id=5e7a3c2e7e118c7f12d5dfda9f9140f638976aa2 Mageia 9 is also affected.
Source RPM: (none) => nano-7.2-2.mga10.src.rpmStatus comment: (none) => Fixed upstream in 8.0 and patch available from openSUSE and upstreamWhiteboard: (none) => MGA9TOOCVE: (none) => CVE-2024-5742
Suggested advisory: ======================== The updated package fixes a security vulnerability: 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 opportunity for attackers to escalate privileges through a malicious symlink. (CVE-2024-5742) References: https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/VCJGQ6SCOSZGXAPYA7GYUT3M6ZPBLO5V/ ======================== Updated package in core/updates_testing: ======================== nano-7.2-1.1.mga9 from SRPM: nano-7.2-1.1.mga9.src.rpm
Whiteboard: MGA9TOO => (none)Version: Cauldron => 9Assignee: bugsquad => qa-bugsStatus comment: Fixed upstream in 8.0 and patch available from openSUSE and upstream => (none)Status: NEW => ASSIGNEDSource RPM: nano-7.2-2.mga10.src.rpm => nano-7.2-1.mga9.src.rpm
Keywords: (none) => advisory
mga9-64 OK running in Plasma X11 Konsole created file, saved, restart, open edit, etc.
CC: (none) => fri
Not like that I try to reproduce the fail with current version but killing nano not produce the emergency file The application update without issue And works
CC: (none) => andrewsfarm
MGA9-64 Plasma Wayland on HP-Pavillion No installation issues. Tried to use it, found it even clumsier than vi. Anyway, did some operations on a text file, found rather accidentally that mouse operation could be set-reset. Probably due to this being a slow machine, closing nano left the mouse cursor with the icon to resize a window wherever I moved it. After a while, it returned to normal operation. In view of other tests above, good to go.
CC: (none) => herman.viaeneWhiteboard: (none) => MGA9-64-OK
Validating.
CC: (none) => sysadmin-bugsKeywords: (none) => validated_update
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGASA-2024-0223.html
Resolution: (none) => FIXEDStatus: ASSIGNED => RESOLVED