VULNERABILITY INTELLIGENCE
CVE-2024-5742
CVSS score6.7 MEDIUM
EPSS probability0.34%
CISA KEVNot currently listed
Published2024-06-12
Last modified2026-10-15
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
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.
Weakness classification
- secalert@redhat.com: CWE-59
- nvd@nist.gov: CWE-59
Primary references
- secalert@redhat.com
- secalert@redhat.com
- secalert@redhat.com — Vendor Advisory
- secalert@redhat.com — Issue Tracking, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Issue Tracking, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108
- 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e