CVE-2024-5742
MEDIUM severity · CVSS 6.7 · CWE-59
6.7CVSS MEDIUM
Summary
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.
Impact & exploitability
Attack vectorLocal
Attack complexityHigh
Privileges requiredLow
User interactionRequired
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
Exploit probability (EPSS)0%
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Affected products we track (1)
Recommendation
Apply the vendor fix in your normal patch cycle. Open any affected product above for its exact safe version.
Additional information
- NVD record
- https://access.redhat.com/security/cve/CVE-2024-5742Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2278574Advisory
- https://access.redhat.com/errata/RHSA-2024:6986
- https://access.redhat.com/errata/RHSA-2024:9430
- https://lists.debian.org/debian-lts-announce/2024/06/msg00006.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html