CVEvulnerability
CVE-2024-5742
6.7 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-06-12
- Last modified
- 2026-10-15
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.7 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 6.7 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-59
Description
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 configurations
• gnu nano (>= 2.2.0 < 8.0)
• redhat enterprise linux 6.0
• redhat enterprise linux 7.0
• redhat enterprise linux 8.0
• redhat enterprise linux 9.0
Related
Weakness · CWE (1)
- CWE-59 Improper Link Resolution Before File Access weakness
References
- https://access.redhat.com/errata/RHSA-2024:6986 access.redhat.com
- https://access.redhat.com/errata/RHSA-2024:9430 access.redhat.com
- https://access.redhat.com/security/cve/CVE-2024-5742 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2278574 Issue Tracking, Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2024-5742 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2278574 Issue Tracking, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/06/msg00006.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html cert-portal.siemens.com