CVE Vulnerabilities

CVE-2024-5742

Insecure Temporary File

Published: Jun 12, 2024 | Modified: Jun 17, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
4.7 LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Ubuntu
LOW

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.

Weakness

Creating and using insecure temporary files can leave application and system data vulnerable to attack.

Affected Software

Name Vendor Start Version End Version
Nano Ubuntu focal *
Nano Ubuntu jammy *
Nano Ubuntu mantic *
Nano Ubuntu noble *
Nano Ubuntu upstream *

References