{"id":"CLSA-2026-1779122764","summary":"nano: Fix of CVE-2024-5742","details":"- CVE-2024-5742: emergency_save() applied chmod/chown to a path after\n  the descriptor was closed, allowing a symlink swap to redirect the\n  ownership change to an attacker-controlled file\n- Backport of upstream commit 5e7a3c2e from nano v8.0, adapted to the\n  5.6.1 codebase (write_file signature predates the SPECIAL/NONOTES\n  refactor)","modified":"2026-05-27T11:17:33.162569345Z","published":"2026-05-18T16:46:08Z","upstream":["CVE-2024-5742"],"references":[{"type":"ADVISORY","url":"https://errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1779122764.html"}],"affected":[{"package":{"name":"nano","ecosystem":"TuxCare:AlmaLinux:9.2","purl":"pkg:rpm/tuxcare/nano?distro=almalinux-9.2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.1-5.el9.tuxcare.els1"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2026-1779122764.json"}}],"schema_version":"1.7.5"}