CVE-2024-5742

Severity CVSS v4.0:
Pending analysis
Type:
CWE-59 Link Following
Publication date:
12/06/2024
Last modified:
12/11/2024

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:gnu:nano:*:*:*:*:*:*:*:* 2.2.0 (including) 8.0 (excluding)
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*