{"id":"ALSA-2024:6986","summary":"Low: nano security update","details":"GNU nano is a small and friendly text editor.\n\nSecurity Fix(es):\n\n* 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 (CVE-2024-5742)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.","modified":"2026-01-30T01:23:28.812123Z","published":"2024-09-24T00:00:00Z","related":["CVE-2024-5742"],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6986"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2024-5742"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2278574"},{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2024-6986.html"}],"affected":[{"package":{"name":"nano","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/nano"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.8-3.el8_10"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:6986.json"}}],"schema_version":"1.7.3"}