Vulnerabilities · 2024 · Gnu
CVE-2024-5742
Gnu Nano 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.
Affected products
Nano, Enterprise Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnu Nano runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- access.redhat.com/security/cve/CVE-2024-5742 · Vendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2278574 · Vendor Advisory
- access.redhat.com/errata/RHSA-2024:6986
- access.redhat.com/errata/RHSA-2024:9430
- lists.debian.org/debian-lts-announce/2024/06/msg00006.html
- cert-portal.siemens.com/productcert/html/ssa-398330.html
- nvd.nist.gov/vuln/detail/CVE-2024-5742
- cve.org/CVERecord?id=CVE-2024-5742
More vulnerabilities in Gnu products
CVE-2026-24061CVE-2026-0915CVE-2026-0861CVE-2025-66866CVE-2025-66865CVE-2025-66864CVE-2025-66863CVE-2025-66862All 1,147
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.