← Database

CVE-2024-5742

MEDIUM CVSS: 6.7 Published: 2024-06-12 Modified: 2026-06-17

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 Platforms

Gnu NanoRedhat Enterprise Linux

Weakness Type

CWE-59, CWE-59

References