NetSight
medium6.7

CVE-2024-5742

A vulnerability was found in GNU Nano that allows a possible privilege escalation through an insecure temporary file.

Impact

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 products

VendorProductAffected versions
GnuNano
from 2.2.0 before 8.0
RedhatEnterprise Linux
Versions 6.0, 7.0, 8.0, 9.0

Weakness classification

References