CVE-2024-5742Gnu Nano
Medium 6.7
Follow: this CVE · Gnu · Gnu Nano We alert you by email or Slack (account required).
- Priority
- 40
- CVSS 3.1
- 6.7
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 22
- Auth required
- Yes
- Published
- Jun 12, 2024
- Updated
- Nov 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-59
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Nano.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com
- access.redhat.com
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking Vendor Advisory
- lists.debian.org
- cert-portal.siemens.com