CVE-2024-5742

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gnu:nano:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR 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:*:*:*:*:*:*:*

History

No history.

Information

Published : 2024-06-12 09:15

Updated : 2024-11-21 09:48


NVD link : CVE-2024-5742

Mitre link : CVE-2024-5742

CVE.ORG link : CVE-2024-5742


JSON object : View

Products Affected

gnu

  • nano

redhat

  • enterprise_linux
CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')