CVE-2024-5742
MEDIUM6.7EPSS 0.08%nano - security update
Published: 6/12/2024Modified: 4/28/2026
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 packages (2)
- Debian/nanofrom 0, < 5.4-2+deb11u3
- Debian/nanofrom 0, < 3.2-3+deb10u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |